From 4c47f772145d5e022bb263af3b78f95d9804ad51 Mon Sep 17 00:00:00 2001 From: Quantumlyy Date: Thu, 7 Dec 2023 22:48:48 +0100 Subject: [PATCH] why was that there? --- .../tileentity/TileEntityMagicApiary.java | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/main/java/magicbees/tileentity/TileEntityMagicApiary.java b/src/main/java/magicbees/tileentity/TileEntityMagicApiary.java index f17b791..36191e8 100644 --- a/src/main/java/magicbees/tileentity/TileEntityMagicApiary.java +++ b/src/main/java/magicbees/tileentity/TileEntityMagicApiary.java @@ -57,20 +57,13 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory private BiomeGenBase biome; private int breedingProgressPercent = 0; - private final IBeekeepingLogic beeLogic; - private final IErrorLogic errorLogic; + private final IBeekeepingLogic beeLogic = BeeManager.beeRoot.createBeekeepingLogic(this); private final IBeeListener beeListener = new ApiaryBeeListener(this); - private final IBeeModifier beeModifier; - private final MagicApiaryInventory inventory; + private final IBeeModifier beeModifier = new MagicApiaryBeeModifier(this); + private final MagicApiaryInventory inventory = new MagicApiaryInventory(this); + private final IErrorLogic errorLogic = ForestryAPI.errorStateRegistry.createErrorLogic(); private final AuraCharges auraCharges = new AuraCharges(); - public TileEntityMagicApiary() { - beeLogic = BeeManager.beeRoot.createBeekeepingLogic(this); - beeModifier = new MagicApiaryBeeModifier(this); - inventory = new MagicApiaryInventory(this); - errorLogic = ForestryAPI.errorStateRegistry.createErrorLogic(); - } - @Override public Iterable getBeeModifiers() { List beeModifiers = new ArrayList();