diff --git a/OrekiWoofsBeehives/Behaviors/BlockBehaviorBeehiveAffected.cs b/OrekiWoofsBeehives/Behaviors/BlockBehaviorBeehiveAffected.cs index 129b985..c80e818 100644 --- a/OrekiWoofsBeehives/Behaviors/BlockBehaviorBeehiveAffected.cs +++ b/OrekiWoofsBeehives/Behaviors/BlockBehaviorBeehiveAffected.cs @@ -51,7 +51,7 @@ public class BlockBehaviorBeehiveAffected(Block block) : BlockBehavior(block) : " " + Lang.Get("orekiwoofsbeehives:blockinfo-as-a-plant", GetLocalizedPlantTypeText(isFlower, isCrop)); var inRangeText = Lang.Get("orekiwoofsbeehives:blockinfo-in-range-beehive", beehiveCount); - return inRangeText + growthOrPlantText; + return '\n' + inRangeText + growthOrPlantText; } private static string GetLocalizedPlantTypeText(bool isFlower, bool isCrop) diff --git a/OrekiWoofsBeehives/BlockEntities/BlockEntityReusableBeehive.cs b/OrekiWoofsBeehives/BlockEntities/BlockEntityReusableBeehive.cs index 0330211..52e83c6 100644 --- a/OrekiWoofsBeehives/BlockEntities/BlockEntityReusableBeehive.cs +++ b/OrekiWoofsBeehives/BlockEntities/BlockEntityReusableBeehive.cs @@ -22,7 +22,7 @@ public class BlockEntityReusableBeehive : BlockEntityContainer, IModEntity private readonly Stopwatch stopwatch = new(); private readonly StringBuilder infoStringBuilder = new(); - private readonly InventoryGeneric inventory; + private readonly InventoryGeneric inventory = new(8, null, null); private double lastUpdateTotalHours = 0; private bool wasFullyScanned; private float? scanningProgress; @@ -54,11 +54,6 @@ public class BlockEntityReusableBeehive : BlockEntityContainer, IModEntity public Mod? Mod { get; private set; } - public BlockEntityReusableBeehive() - { - inventory = new InventoryGeneric(8, null, null); - } - public bool IsOpen { get; set; } public override void Initialize(ICoreAPI api)