Change this name

This commit is contained in:
Ellpeck 2016-05-17 22:30:05 +02:00
parent 22b0a9a64e
commit aec4bfbaa4

View file

@ -51,7 +51,7 @@ public class CaveWorldType extends WorldType{
}
@SubscribeEvent
public void onSpawn(LivingEvent.LivingUpdateEvent event){
public void onUpdate(LivingEvent.LivingUpdateEvent event){
if(event.getEntity() instanceof EntityPlayerMP){
EntityPlayerMP player = (EntityPlayerMP)event.getEntity();
if(isCave(player.worldObj) && !player.worldObj.isRemote){