Bump version, (0.6.5)

Loading Ammo/Propellant Controls Changes
Fixed Fireworks firing from partially filled Siege Engines
Fixed Multi-Player commanding of one Siege Engine.
Added releasing command of Siege Engines upon death, login and logout.
Cannot place Siege Engines in build-protected WorldGuard-ed regions.
This commit is contained in:
C_Corp2002 authored and GitHub committed 2024-01-10 22:06:48 -05:00
1 parent 84f8d68a63
commit a514879930
7 files changed
+158 -34

No files matched your search

@@ -89,9 +89,10 @@ public class FireworkProjectile extends SiegeEngineProjectile {
if (rocketItem.getItemMeta() instanceof FireworkMeta) {
firework.setFireworkMeta((FireworkMeta)rocketItem.getItemMeta());
}
int fuse = firework.getMaxLife();
int itemPower = 1+firework.getFireworkMeta().getPower();
itemPower *= firework.getMaxLife();
firework.setMaxLife(itemPower);
fuse = fuse + (40*itemPower);
firework.setMaxLife(fuse);
}
}
if (playSound) {