mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-02-04 11:31:02 +00:00
remove hard coded paper material
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user