im tired ok...

This commit is contained in:
Cricket committed 2015-06-25 14:38:40 -04:00
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"));