mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Change this name
This commit is contained in:
parent
22b0a9a64e
commit
aec4bfbaa4
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue