diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/gadgets/MultiTool.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/gadgets/MultiTool.java index d3087016aa..8f943f5866 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/gadgets/MultiTool.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/gadgets/MultiTool.java @@ -80,7 +80,7 @@ protected ItemUseHandler getItemUseHandler() { ItemMeta meta = item.getItemMeta(); e.cancel(); - int index = PersistentDataAPI.getInt(meta, key); + int index = PersistentDataAPI.getInt(meta, key, 0); SlimefunItem sfItem = modes.get(index).getItem(); if (!p.isSneaking()) {