fill stuff
This commit is contained in:
1 parent
9813ab3b71
commit
b879ca2cf4
1 file changed
+1
-1
@@ -50,7 +50,7 @@ public class PerimeterInfoCommand
|
|||||||
{
|
{
|
||||||
nbttagcompound.putString("id", mobId);
|
nbttagcompound.putString("id", mobId);
|
||||||
entityliving = (MobEntity) EntityType.loadEntityWithPassengers(nbttagcompound, source.getWorld(), (entity_1x) -> {
|
entityliving = (MobEntity) EntityType.loadEntityWithPassengers(nbttagcompound, source.getWorld(), (entity_1x) -> {
|
||||||
entity_1x.setPositionAndAngles(pos.getX(), pos.getY(), pos.getZ(), entity_1x.yaw, entity_1x.pitch);
|
entity_1x.setPositionAndAngles(pos.getX(), pos.getY()+2, pos.getZ(), entity_1x.yaw, entity_1x.pitch);
|
||||||
return !source.getWorld().method_18768(entity_1x) ? null : entity_1x;
|
return !source.getWorld().method_18768(entity_1x) ? null : entity_1x;
|
||||||
});
|
});
|
||||||
if (entityliving == null)
|
if (entityliving == null)
|
||||||
|
|||||||
Reference in new issue
Block a user