mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-18 03:25:15 +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.tileentity.TileEntityEffectJar;
|
||||
import magicbees.tileentity.TileEntityMagicApiary;
|
||||
|
||||
@@ -23,7 +24,7 @@ public class GUIHandler implements IGuiHandler {
|
||||
TileEntityMagicApiary tileEntityThaumicApiary = (TileEntityMagicApiary) world.getTileEntity(x, y, z);
|
||||
value = new ContainerMagicApiary(player.inventory, tileEntityThaumicApiary);
|
||||
} else if (ID == UIScreens.EFFECT_RING.ordinal()) {
|
||||
value = new ContainerEffectRing(ItemBeeRing.getInventory(player, player.getHeldItem()),player);
|
||||
value = new ContainerEffectRing((InventoryBeeRing) ItemBeeRing.getInventory(player, player.getHeldItem()),player);
|
||||
}
|
||||
|
||||
return value;
|
||||
|
||||
Reference in new issue
Block a user