quick fix : Unused assignment

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 6bf15fdfe3
commit 2b6b01314d
34 files changed
+54 -63

No files matched your search

@@ -160,14 +160,14 @@ public class WeaponryHandler {
NBTTagCompound tags = event.toolTag.getCompoundTag("InfiTool");
ProjectileWeapon weapon = (ProjectileWeapon) event.tool;
int drawSpeed = 0;
float flightSpeed = 0;
int drawSpeed;
float flightSpeed;
BowMaterial top;
BowMaterial bottom;
BowstringMaterial string;
boolean enchanted = false;
boolean enchanted;
if (event.tool instanceof BowBaseAmmo) {
top = TConstructRegistry.getBowMaterial(tags.getInteger("Head"));