mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Check if it's an mcMMO item instead.
For when we add more items than just ChimaeraWings
This commit is contained in:
parent
9b685be84e
commit
fa99ebb391
@ -166,7 +166,7 @@ public class InventoryListener implements Listener {
|
||||
if (event.getRecipe().getResult() == null) {
|
||||
return;
|
||||
}
|
||||
else if (!ItemUtils.isChimaeraWing(event.getRecipe().getResult())) {
|
||||
else if (!ItemUtils.isMcMMOItem(event.getRecipe().getResult())) {
|
||||
return;
|
||||
}
|
||||
else if (event.getWhoClicked() == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user