forked from Upstream/CommandPanels
v3.15.2.2
This commit is contained in:
parent
ed89e63d57
commit
0e1bd610ea
@ -1,4 +1,4 @@
|
||||
version: 3.15.2.1
|
||||
version: 3.15.2.2
|
||||
main: me.rockyhawk.commandpanels.CommandPanels
|
||||
name: CommandPanels
|
||||
author: RockyHawk
|
||||
|
@ -633,7 +633,7 @@ public class CommandTags {
|
||||
String mmoType = customItemMaterial.split("\\s")[1];
|
||||
String mmoID = customItemMaterial.split("\\s")[2];
|
||||
|
||||
if (plugin.isMMOItem(sellItem,mmoType,mmoID) && sellItem.getAmount() <= content.getAmount()) {
|
||||
if (plugin.isMMOItem(content,mmoType,mmoID) && sellItem.getAmount() <= content.getAmount()) {
|
||||
content.setAmount(content.getAmount() - sellItem.getAmount());
|
||||
p.updateInventory();
|
||||
removedItem = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user