mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Added back updateInventory() methods.
Even though I updated old inventory methods it still needs these to reflect the amounts removed...
This commit is contained in:
@ -78,6 +78,7 @@ public class Herbalism
|
||||
if(hasSeeds && block.getType() != Material.WHEAT)
|
||||
{
|
||||
inventory.removeItem(new ItemStack(Material.SEEDS, 1));
|
||||
player.updateInventory();
|
||||
if(LoadProperties.enableSmoothToMossy && block.getType() == Material.SMOOTH_BRICK)
|
||||
block.setData((byte)1);
|
||||
if(LoadProperties.enableDirtToGrass && block.getType() == Material.DIRT)
|
||||
@ -167,6 +168,7 @@ public class Herbalism
|
||||
}, 1);
|
||||
|
||||
inventory.removeItem(new ItemStack(Material.SEEDS, 1));
|
||||
player.updateInventory();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user