mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Updated for SpoutAPI changes
This commit is contained in:
parent
b257f95efb
commit
853db26e2f
@ -88,7 +88,7 @@ public class SpoutPlayer extends LocalPlayer {
|
|||||||
Controller controller = player.getController();
|
Controller controller = player.getController();
|
||||||
if (controller instanceof VanillaPlayerController) {
|
if (controller instanceof VanillaPlayerController) {
|
||||||
((VanillaPlayerController) controller).getInventory()
|
((VanillaPlayerController) controller).getInventory()
|
||||||
.addItem(new ItemStack(VanillaMaterials.getMaterial((short) type), amt), false);
|
.addItem(new ItemStack(VanillaMaterials.getMaterial((short) type), amt));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user