mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 07:56:01 +00:00
Throwing knives now crit when they're aimed long enough
This commit is contained in:
1 parent
d57f8b64a8
commit
40a2e91943
4 files changed
+12
-6
No files matched your search
@@ -174,7 +174,7 @@ public class Javelin extends AmmoWeapon {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Entity createProjectile(ItemStack reference, World world, EntityPlayer player, float accuracy) {
|
||||
protected Entity createProjectile(ItemStack reference, World world, EntityPlayer player, float accuracy, int time) {
|
||||
reference.getTagCompound().getCompoundTag("InfiTool").removeTag("Throwing"); // needed so the NBTs are equal
|
||||
JavelinEntity entity = new JavelinEntity(world, player, getProjectileSpeed(), accuracy, reference);
|
||||
|
||||
|
||||
Reference in new issue
Block a user