Update to 1.17

This commit is contained in:
Sn0wStorm
2021-06-14 16:39:29 +02:00
parent da9f84acb4
commit b43c647c5f
8 changed files with 102 additions and 52 deletions
@@ -324,7 +324,7 @@ public class IntegrationListener implements Listener {
if (!BConfig.hasMMOItems) return;
try {
if (event.getAction() == Action.RIGHT_CLICK_BLOCK && event.hasItem() && event.getHand() == EquipmentSlot.HAND) {
if (event.getClickedBlock() != null && event.getClickedBlock().getType() == Material.CAULDRON) {
if (event.getClickedBlock() != null && LegacyUtil.isWaterCauldron(event.getClickedBlock().getType())) {
NBTItem item = NBTItem.get(event.getItem());
if (item.hasType()) {
for (RecipeItem rItem : BCauldronRecipe.acceptedCustom) {