credit
This commit is contained in:
parent
94c59ae5f8
commit
0b9ee3e95a
1 changed files with 2 additions and 0 deletions
|
@ -1464,6 +1464,8 @@ public class GT_Utility {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean moveEntityToDimensionAtCoords(Entity entity, int aDimension, double aX, double aY, double aZ) {
|
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 == null || entity.worldObj.isRemote) return false;
|
||||||
if (entity.ridingEntity != null) entity.mountEntity(null);
|
if (entity.ridingEntity != null) entity.mountEntity(null);
|
||||||
if (entity.riddenByEntity != null) entity.riddenByEntity.mountEntity(null);
|
if (entity.riddenByEntity != null) entity.riddenByEntity.mountEntity(null);
|
||||||
|
|
Loading…
Reference in a new issue