mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
fix keep spawn loaded config
This commit is contained in:
parent
6d4ec62128
commit
56de8ba1a4
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+
|
+
|
||||||
+ public short keepLoadedRange;
|
+ public short keepLoadedRange;
|
||||||
+ private void keepLoadedRange() {
|
+ private void keepLoadedRange() {
|
||||||
+ keepLoadedRange = (short) getInt("keep-spawn-loaded-range", Math.min(spigotConfig.viewDistance, 8));
|
+ keepLoadedRange = (short) (getInt("keep-spawn-loaded-range", Math.min(spigotConfig.viewDistance, 8)) * 16);
|
||||||
+ log( "Keep Spawn Loaded Range: " + (keepLoadedRange/16));
|
+ log( "Keep Spawn Loaded Range: " + (keepLoadedRange/16));
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue