Merge branch 'master' into 1.15
This commit is contained in:
commit
45b4bbcd99
5 files changed
+40
-4
No files matched your search
@@ -246,6 +246,12 @@ public class EntityPlayerActionPack
|
||||
break;
|
||||
}
|
||||
}
|
||||
ItemStack handItem = player.getStackInHand(hand);
|
||||
ActionResult result =player.interactionManager.interactItem(player, player.getServerWorld(), handItem, hand);
|
||||
if (result == ActionResult.SUCCESS)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user