This commit is contained in:
TheCrunchy committed 2023-07-02 13:50:48 +01:00
1 parent 39c32c4266
commit 261b42e8a8
4 files changed
+2 -2

No files matched your search

Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -143,7 +143,7 @@ public class SiegeEquipment implements Cloneable {
ClickHandler.projectiles.put(tnt.getUniqueId(), this.projectile);
tnt.setVelocity(loc.getDirection().multiply(this.Velocity));
Bukkit.getServer().getWorld(this.WorldName).playSound(this.location, Sound.ENTITY_GENERIC_EXPLODE, 20, 2);
Bukkit.getServer().getWorld(this.WorldName).spawnParticle(Particle.SMOKE_LARGE, loc.getX(), loc.getY(), loc.getZ(), 0);
Bukkit.getServer().getWorld(this.WorldName).spawnParticle(Particle.EXPLOSION_NORMAL, loc.getX(), loc.getY(), loc.getZ(), 0);
}, delay);
}