v3.15.2.2

This commit is contained in:
rockyhawk64 2021-01-31 19:51:44 +11:00
parent ed89e63d57
commit 0e1bd610ea
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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;