Fix forceload
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
f8c96b196d
Commit
fa66d32852
@ -19,6 +19,7 @@
|
||||
|
||||
package de.steamwar.fightsystem.fight;
|
||||
|
||||
import de.steamwar.core.Core;
|
||||
import de.steamwar.core.VersionedRunnable;
|
||||
import de.steamwar.fightsystem.ArenaMode;
|
||||
import de.steamwar.fightsystem.Config;
|
||||
@ -62,9 +63,9 @@ public class FightWorld extends StateDependent {
|
||||
public static void forceLoad(){
|
||||
Config.ArenaRegion.forEachChunk((cX, cZ) -> {
|
||||
world.loadChunk(cX, cZ);
|
||||
if(Core.getVersion() > 12)
|
||||
world.setChunkForceLoaded(cX, cZ, true);
|
||||
});
|
||||
world.setSpawnLocation(Config.SpecSpawn);
|
||||
world.setKeepSpawnInMemory(true);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren