small fixes

Fixed chunkloader bug
Fixed doors not tping non player entites because of orientation
This commit is contained in:
StevenRS11
2013-10-15 15:40:37 -04:00
parent 5bfd40f2b2
commit 7a36e78769
5 changed files with 22 additions and 33 deletions

View File

@@ -383,9 +383,9 @@ public abstract class BaseDimDoor extends BlockDoor implements IDimDoor, ITileEn
{
int metadata = world.getBlockMetadata(x, y - 1, z);
boolean canUse = isDoorOpen(metadata);
if (canUse && entity instanceof EntityLiving)
if (canUse && entity instanceof EntityPlayer)
{
// Don't check for non-living entities since it might not work right
// Dont check for non-player entites
canUse = isEntityFacingDoor(metadata, (EntityLiving) entity);
}
if (canUse)