mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 02:20:57 +00:00
fix minestom build
This commit is contained in:
@@ -45,8 +45,7 @@ public final class MinestomPlatform extends AbstractPlatform {
|
|||||||
@Override
|
@Override
|
||||||
public boolean reload() {
|
public boolean reload() {
|
||||||
getTerraConfig().load(this);
|
getTerraConfig().load(this);
|
||||||
getRawConfigRegistry().clear();
|
boolean succeed = loadConfigPacks();
|
||||||
boolean succeed = getRawConfigRegistry().loadAll(this);
|
|
||||||
|
|
||||||
MinecraftServer.getInstanceManager().getInstances().forEach(world -> {
|
MinecraftServer.getInstanceManager().getInstances().forEach(world -> {
|
||||||
if(world.generator() instanceof MinestomChunkGeneratorWrapper wrapper) {
|
if(world.generator() instanceof MinestomChunkGeneratorWrapper wrapper) {
|
||||||
|
|||||||
Reference in New Issue
Block a user