mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
Fix weaponry overwriting the attack-modifier variable used by ITT and other stuff with the ranged modifier
This commit is contained in:
1 parent
58031bb521
commit
f22b1c6666
1 file changed
+3
-2
@@ -98,6 +98,7 @@ public class TinkerWeaponry {
|
||||
public static Boneana boneana;
|
||||
|
||||
// other stuff
|
||||
public static ModAttack modAttack;
|
||||
public static Random random = new Random();
|
||||
|
||||
|
||||
@@ -125,8 +126,8 @@ public class TinkerWeaponry {
|
||||
ModifyBuilder.registerModifier(new ModWindup(2, new ItemStack[] { redstoneItem, redstoneBlock }, new int[] { 1, 9 }));
|
||||
ModifyBuilder.registerModifier(new ModAmmoRestock());
|
||||
|
||||
TinkerTools.modAttack = new ModAttack("Quartz", 11, new ItemStack[] { new ItemStack(Items.quartz), new ItemStack(Blocks.quartz_block, 1, Short.MAX_VALUE) }, new int[] { 1, 4 }, true);
|
||||
ModifyBuilder.registerModifier(TinkerTools.modAttack);
|
||||
modAttack = new ModAttack("Quartz", 11, new ItemStack[] { new ItemStack(Items.quartz), new ItemStack(Blocks.quartz_block, 1, Short.MAX_VALUE) }, new int[] { 1, 4 }, true);
|
||||
ModifyBuilder.registerModifier(modAttack);
|
||||
|
||||
TConstructRegistry.registerActiveToolMod(new WeaponryActiveToolMod());
|
||||
|
||||
|
||||
Reference in new issue
Block a user