mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-21 20:52:24 +00:00
Sorting out problems with initialization order of item fetching, mod helper setup and bee alles & species setup.
Closes #70
This commit is contained in:
1 parent
8ef17ecbc9
commit
e9c1e5cf8c
5 files changed
+26
-22
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package magicbees.client.gui;
|
||||
|
||||
import forestry.api.apiculture.IHiveFrame;
|
||||
import forestry.plugins.PluginApiculture;
|
||||
import magicbees.bees.BeeManager;
|
||||
import magicbees.main.utils.ItemInterface;
|
||||
import magicbees.tileentity.TileEntityMagicApiary;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
@@ -74,8 +74,8 @@ public class ContainerMagicApiary extends ContainerMB {
|
||||
clearSlot = this.mergeItemStack(srcStack, maxSlot + 1, maxSlot + 36, false);
|
||||
}else{
|
||||
if (slotIndex > maxSlot && srcStack != null){
|
||||
if (PluginApiculture.beeInterface.isMember(srcStack)){
|
||||
if (!PluginApiculture.beeInterface.isDrone(srcStack)){
|
||||
if (BeeManager.beeRoot.isMember(srcStack)){
|
||||
if (!BeeManager.beeRoot.isDrone(srcStack)){
|
||||
if (this.getSlot(SLOT_QUEEN).getHasStack() == false) {
|
||||
clearSlot = this.mergeItemStack(srcStack, SLOT_QUEEN, SLOT_QUEEN, false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user