v3.15.2.1

This commit is contained in:
rockyhawk64 2021-01-29 21:55:14 +11:00
parent 45b9e4f8f3
commit ed89e63d57
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version: 3.15.2.0 version: 3.15.2.1
main: me.rockyhawk.commandpanels.CommandPanels main: me.rockyhawk.commandpanels.CommandPanels
name: CommandPanels name: CommandPanels
author: RockyHawk author: RockyHawk

View File

@ -58,7 +58,9 @@ public class OpenGUI {
} }
} }
} }
ItemStack s = plugin.itemCreate.makeItemFromConfig(Objects.requireNonNull(pconfig.getConfigurationSection("item." + item + section)), p, onOpen != 3, onOpen != 3, true);
//will only add NBT if not an editor GUI
ItemStack s = plugin.itemCreate.makeItemFromConfig(Objects.requireNonNull(pconfig.getConfigurationSection("item." + item + section)), p, onOpen != 3, onOpen != 3, onOpen != 3);
//This is for CUSTOM ITEMS //This is for CUSTOM ITEMS
if(pconfig.contains("item." + item + section + ".itemType")) { if(pconfig.contains("item." + item + section + ".itemType")) {