Use the correct CB object for ContainerBrewingStand. Fixes BUKKIT-3357
Dieser Commit ist enthalten in:
Ursprung
cf7dfeda62
Commit
032c7366ad
@ -1,7 +1,7 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
// CraftBukkit start
|
||||
import org.bukkit.craftbukkit.inventory.CraftInventory;
|
||||
import org.bukkit.craftbukkit.inventory.CraftInventoryBrewer;
|
||||
import org.bukkit.craftbukkit.inventory.CraftInventoryView;
|
||||
// CraftBukkit end
|
||||
|
||||
@ -118,7 +118,7 @@ public class ContainerBrewingStand extends Container {
|
||||
return bukkitEntity;
|
||||
}
|
||||
|
||||
CraftInventory inventory = new CraftInventory(this.brewingStand);
|
||||
CraftInventoryBrewer inventory = new CraftInventoryBrewer(this.brewingStand);
|
||||
bukkitEntity = new CraftInventoryView(this.player.player.getBukkitEntity(), inventory, this);
|
||||
return bukkitEntity;
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren