Fix #1340 Rare NPE from BeekeepingLogic.queenWorkTick

This commit is contained in:
mezz committed 2016-07-03 22:16:12 -07:00
1 parent 46eb29cf28
commit d690a38fa2
12 files changed
+36 -4

No files matched your search

@@ -53,6 +53,7 @@ import forestry.core.utils.Translator;
public class AlvearyController extends RectangularMultiblockControllerBase implements IAlvearyControllerInternal, IClimateControlled {
@Nonnull
private final InventoryBeeHousing inventory;
private final IBeekeepingLogic beekeepingLogic;
@@ -77,6 +78,7 @@ public class AlvearyController extends RectangularMultiblockControllerBase imple
this.beeModifiers.add(new AlvearyBeeModifier());
}
@Nonnull
@Override
public IBeeHousingInventory getBeeInventory() {
return inventory;