weapons need to be centered

This commit is contained in:
NewGarbo 2016-02-13 18:45:45 +00:00
parent e6eb43ada8
commit 93a5ca6777
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ public class Cannon extends SiegeWeapon
getEntity("Filler_1").setPassenger(slime);
addEntity(slime, "PLAYERMOUNT");
ArmorStand armorStand = _location.getWorld().spawn(_location, ArmorStand.class);
ArmorStand armorStand = _location.getWorld().spawn(_location.clone().add(.5, 0, .5), ArmorStand.class);
UtilEnt.setFakeHead(armorStand, true);
armorStand.teleport(_location);

View File

@ -196,7 +196,7 @@ public class Catapult extends SiegeWeapon
addEntity(filler, "Filler_1");
ArmorStand mount = _location.getWorld().spawn(_location, ArmorStand.class);
ArmorStand mount = _location.getWorld().spawn(_location.clone().add(.5, 0, .5), ArmorStand.class);
mount.setVisible(false);
mount.setGravity(false);