Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Updated for SpoutAPI inventory changes
Dieser Commit ist enthalten in:
Ursprung
c76f119fa4
Commit
15714dc78c
@ -78,7 +78,7 @@ public class SpoutPlayer extends LocalPlayer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void giveItem(int type, int amt) {
|
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
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren