This commit is contained in:
Technus 2016-11-21 17:22:05 +01:00
parent 94c59ae5f8
commit 0b9ee3e95a

View file

@ -1464,6 +1464,8 @@ public class GT_Utility {
}
public static boolean moveEntityToDimensionAtCoords(Entity entity, int aDimension, double aX, double aY, double aZ) {
//Credit goes to BrandonCore Author :!:
if (entity == null || entity.worldObj.isRemote) return false;
if (entity.ridingEntity != null) entity.mountEntity(null);
if (entity.riddenByEntity != null) entity.riddenByEntity.mountEntity(null);