remove hard coded paper material

This commit is contained in:
hyperdefined
2025-05-15 18:51:17 -04:00
parent 57ec36d5a7
commit eddaec1543
2 changed files with 2 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ public class PrepareCraft implements Listener {
// get the items in the crafting grid
ItemStack[] grid = event.getInventory().getMatrix();
for (ItemStack item : grid) {
if (item == null || item.getType() != Material.PAPER) {
if (item == null) {
continue;
}
ItemMeta meta = item.getItemMeta();