mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-17 02:55:19 +00:00
Fixing InventoryBeeRing and adding some minor functionality to ItemBeeRing
This commit is contained in:
1 parent
c17c2f3746
commit
e5cea4e3dd
5 files changed
+171
-81
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package magicbees.client.gui;
|
||||
|
||||
import magicbees.item.ItemBeeRing;
|
||||
import magicbees.itemInventories.InventoryBeeRing;
|
||||
import magicbees.main.CommonProxy;
|
||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
@@ -21,7 +22,7 @@ public class GUIEffectRing extends GuiContainer {
|
||||
private static final int HEIGHT = 156;
|
||||
|
||||
public GUIEffectRing(ItemStack itemStack, EntityPlayer player) {
|
||||
super(new ContainerEffectRing(ItemBeeRing.getInventory(player, itemStack), player));
|
||||
super(new ContainerEffectRing((InventoryBeeRing) ItemBeeRing.getInventory(player, itemStack), player));
|
||||
this.xSize = WIDTH;
|
||||
this.ySize = HEIGHT;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user