mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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) {
|
if (event.getRecipe().getResult() == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (!ItemUtils.isChimaeraWing(event.getRecipe().getResult())) {
|
else if (!ItemUtils.isMcMMOItem(event.getRecipe().getResult())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (event.getWhoClicked() == null) {
|
else if (event.getWhoClicked() == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user