forked from Upstream/CommandPanels
v1.14.1.5
This commit is contained in:
parent
7b59112ed4
commit
e8c3d434cf
@ -1,4 +1,4 @@
|
||||
version: 3.14.1.4
|
||||
version: 3.14.1.5
|
||||
main: me.rockyhawk.commandpanels.CommandPanels
|
||||
name: CommandPanels
|
||||
author: RockyHawk
|
||||
|
@ -58,8 +58,7 @@ public class HotbarItemLoader {
|
||||
if(tempFile.contains("open-with-item")){
|
||||
ItemStack panelItem = plugin.itemCreate.makeItemFromConfig(Objects.requireNonNull(tempFile.getConfigurationSection("open-with-item")), p, false, true);
|
||||
if(invItem != null && panelItem != null) {
|
||||
panelItem.setAmount(1);
|
||||
invItem.setAmount(1);
|
||||
panelItem.setAmount(invItem.getAmount());
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user