321322323324325326327328
/* Gun and armour box crafting methods */ @Override public void buyGun(GunBoxType type, int gun) { FlansMod.getPacketHandler().sendToServer(new PacketBuyWeapon(type, 0, gun)); FlansModClient.shootTimeLeft = FlansModClient.shootTimeRight = 10; }
328329330331332333334335
} @Override public void buyAmmo(GunBoxType box, int ammo, int type) { FlansMod.getPacketHandler().sendToServer(new PacketBuyWeapon(box, type, ammo)); FlansModClient.shootTimeLeft = FlansModClient.shootTimeRight = 10; }