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

@@ -127,8 +127,6 @@ public class DDTeleporter
if(!CheckDestination(entity, world, destination, properties))
{
//TODO Give entity backwards acceleration
if(entity instanceof EntityPlayerMP)
{
EntityPlayer player = (EntityPlayer) entity;
@@ -183,7 +181,6 @@ public class DDTeleporter
entity.motionX = 0;
entity.motionZ = 0;
entity.motionY = 0;
switch (orientation)
{
case 0: