mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-11-28 16:06:07 +00:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
5c745a8691
1 file changed
+1
-1
@@ -138,7 +138,7 @@ public class ItemBloodSword extends ItemSword implements IRepairable, ITTinkerer
|
||||
|
||||
if (event.entityLiving instanceof EntityPlayer && handle) {
|
||||
EntityPlayer player = (EntityPlayer) event.entityLiving;
|
||||
ItemStack itemInUse = player.getItemInUse();
|
||||
ItemStack itemInUse = player.itemInUse;
|
||||
if (itemInUse != null && itemInUse.getItem() == this) {
|
||||
|
||||
event.setCanceled(true);
|
||||
|
||||
Reference in new issue
Block a user