mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-01 22:22:10 +00:00
cannons working amazingly
This commit is contained in:
1 parent
261b42e8a8
commit
e4350c7452
8 files changed
+9
-7
No files matched your search
@@ -130,7 +130,7 @@ public class CrunchSiegeCore extends JavaPlugin {
|
||||
|
||||
public static void CreateTrebuchet(Player player) {
|
||||
Location l = player.getLocation();
|
||||
//l.setY(l.getY() - 1);
|
||||
l.setY(l.getY() - 1);
|
||||
Entity entity2 = player.getWorld().spawnEntity(l, EntityType.ARMOR_STAND);
|
||||
SiegeEquipment equip = new SiegeEquipment(entity2.getUniqueId());
|
||||
ItemStack item = new ItemStack(Material.CARVED_PUMPKIN);
|
||||
@@ -156,7 +156,7 @@ public class CrunchSiegeCore extends JavaPlugin {
|
||||
stand.addEquipmentLock(EquipmentSlot.CHEST, LockType.ADDING_OR_CHANGING);
|
||||
stand.addEquipmentLock(EquipmentSlot.FEET, LockType.ADDING_OR_CHANGING);
|
||||
ent.addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, 2000000, 1));
|
||||
stand.setSmall(true);
|
||||
// stand.setSmall(true);
|
||||
stand.setVisible(true);
|
||||
//stand.setSmall(true);
|
||||
ent.getEquipment().setHelmet(item);
|
||||
|
||||
Reference in new issue
Block a user