mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 02:47:11 +00:00
Updated for SpoutAPI inventory changes
This commit is contained in:
parent
c76f119fa4
commit
15714dc78c
@ -78,7 +78,7 @@ public class SpoutPlayer extends LocalPlayer {
|
||||
|
||||
@Override
|
||||
public void giveItem(int type, int amt) {
|
||||
player.getEntity().getInventory().addItem(new ItemStack(MaterialRegistry.get((short) type), amt));
|
||||
player.getEntity().getInventory().addItem(new ItemStack(MaterialRegistry.get((short) type), amt), false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user