improve scan radius changing
This commit is contained in:
@@ -159,6 +159,12 @@ public class BlockEntityReusableBeehive : BlockEntityContainer, IModEntity
|
|||||||
if (registeredRadius == Config.Instance.BeehiveRadius)
|
if (registeredRadius == Config.Instance.BeehiveRadius)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
scanningProgress = 0;
|
||||||
|
rescanningProgress = 0;
|
||||||
|
FlowersAround = null;
|
||||||
|
CropsAround = null;
|
||||||
|
wasFullyScanned = false;
|
||||||
|
|
||||||
var plantPositionRegistry = Api.GetPlantPositionRegistry();
|
var plantPositionRegistry = Api.GetPlantPositionRegistry();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"OrekiWoof"
|
"OrekiWoof"
|
||||||
],
|
],
|
||||||
"description": "Beehive with 8 slots for honey frames. Boosts your plants.",
|
"description": "Beehive with 8 slots for honey frames. Boosts your plants.",
|
||||||
"version": "2.0.0-rc.1",
|
"version": "2.0.0-rc.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"game": "1.21.0"
|
"game": "1.21.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"OrekiWoof"
|
"OrekiWoof"
|
||||||
],
|
],
|
||||||
"description": "Cute immersive roaming bees. Now on vanilla skeps and other mods' hives.",
|
"description": "Cute immersive roaming bees. Now on vanilla skeps and other mods' hives.",
|
||||||
"version": "2.0.0-rc.1",
|
"version": "2.0.0-rc.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"game": "1.21.0"
|
"game": "1.21.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user