mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 16:27:45 +00:00
im tired ok...
This commit is contained in:
1 parent
7b26ac24e6
commit
1275723db0
1 file changed
+1
-1
@@ -207,7 +207,7 @@ public class Chisel {
|
||||
public void thankYou(EntityJoinWorldEvent event){
|
||||
if(!event.world.isRemote && event.entity instanceof EntityPlayerMP){
|
||||
EntityPlayerMP player = (EntityPlayerMP) event.entity;
|
||||
if(player.getEntityData().getCompoundTag(EntityPlayer.PERSISTED_NBT_TAG).getBoolean("thanked")){
|
||||
if(!player.getEntityData().getCompoundTag(EntityPlayer.PERSISTED_NBT_TAG).getBoolean("thanked")){
|
||||
NBTTagCompound tag = player.getEntityData().getCompoundTag(EntityPlayer.PERSISTED_NBT_TAG);
|
||||
tag.setBoolean("thanked", true);
|
||||
player.addChatMessage(new ChatComponentText("Thank you for half a million downloads! - The Chisel Team"));
|
||||
|
||||
Reference in new issue
Block a user