y u hate me so much

This commit is contained in:
Cricket committed 2015-07-17 10:44:44 -04:00
1 parent 8c79bd31b7
commit 70c8fd1131
1 file changed
-12
@@ -199,16 +199,4 @@ public class Chisel {
Configurations.refreshConfig();
}
}
@SubscribeEvent
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")){
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"));
}
}
}
}