mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-02-04 11:31:02 +00:00
move keys to own class
this took forever
This commit is contained in:
@@ -48,7 +48,7 @@ public class PrepareCraft implements Listener {
|
||||
}
|
||||
// if the paper item has our PDC, cancel it
|
||||
PersistentDataContainer container = meta.getPersistentDataContainer();
|
||||
if (container.has(toolStats.tokenType)) {
|
||||
if (container.has(toolStats.toolStatsKeys.getTokenType())) {
|
||||
event.getInventory().setResult(null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user