h1z1-server 0.23.4-3 → 0.23.4-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -840,7 +840,7 @@ export class WorldDataManager {
|
|
|
840
840
|
.find({ serverId: server._worldId })
|
|
841
841
|
.toArray();
|
|
842
842
|
|
|
843
|
-
if (tempData) {
|
|
843
|
+
if (tempData.length) {
|
|
844
844
|
await fixDbTempData(
|
|
845
845
|
server,
|
|
846
846
|
tempData,
|
|
@@ -1135,7 +1135,7 @@ export class WorldDataManager {
|
|
|
1135
1135
|
?.collection("crop-temp")
|
|
1136
1136
|
.find({ serverId: server._worldId })
|
|
1137
1137
|
.toArray();
|
|
1138
|
-
if (tempData) {
|
|
1138
|
+
if (tempData.length) {
|
|
1139
1139
|
await fixDbTempData(
|
|
1140
1140
|
server,
|
|
1141
1141
|
tempData,
|
|
@@ -1196,7 +1196,7 @@ export class WorldDataManager {
|
|
|
1196
1196
|
?.collection(DB_COLLECTIONS.WORLD_CONSTRUCTIONS_TEMP)
|
|
1197
1197
|
.find({ serverId: server._worldId })
|
|
1198
1198
|
.toArray();
|
|
1199
|
-
if (tempData) {
|
|
1199
|
+
if (tempData.length) {
|
|
1200
1200
|
await fixDbTempData(
|
|
1201
1201
|
server,
|
|
1202
1202
|
tempData,
|