a few last tweaks

This commit is contained in:
StevenRS11
2013-06-16 03:40:46 -04:00
parent cd4679c8fd
commit 5e107f37f9
5 changed files with 55 additions and 108 deletions

View File

@@ -93,6 +93,11 @@ public class MobObelisk extends EntityFlying implements IMob
@Override
public void onEntityUpdate()
{
if(!(this.worldObj.provider instanceof LimboProvider ||this.worldObj.provider instanceof pocketProvider))
{
this.setDead();
}
byte b0 = this.dataWatcher.getWatchableObjectByte(16);
this.texture="/mods/DimDoors/textures/mobs/Monolith"+b0+".png";
@@ -199,10 +204,7 @@ public class MobObelisk extends EntityFlying implements IMob
this.aggro=0;
entityPlayer.worldObj.playSoundAtEntity(entityPlayer,"mods.DimDoors.sfx.crack",13, 1);
if(!(this.worldObj.provider instanceof LimboProvider ||this.worldObj.provider instanceof pocketProvider))
{
this.setDead();
}