mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 08:25:31 +00:00
Reverted changes to comply with build version requirements and avoiding pulling functionality out of a common existing function
This commit is contained in:
parent
9749eecd87
commit
761a014ea5
@ -57,10 +57,7 @@ object Versions {
|
||||
object Bukkit {
|
||||
const val minecraft = "1.21.4"
|
||||
|
||||
// swapped to use a generic SNAPSHOT instead of a specific timestamp
|
||||
//const val paperBuild = "$minecraft-R0.1-20250317.101324-208"
|
||||
const val paperBuild = "$minecraft-R0.1-SNAPSHOT"
|
||||
|
||||
const val paperBuild = "$minecraft-R0.1-20250317.101324-208"
|
||||
const val paper = paperBuild
|
||||
const val paperLib = "1.0.8"
|
||||
const val reflectionRemapper = "0.1.1"
|
||||
|
@ -49,21 +49,7 @@ public final class MinestomPlatform extends AbstractPlatform {
|
||||
@Override
|
||||
public boolean reload() {
|
||||
getTerraConfig().load(this);
|
||||
getRawConfigRegistry().clear();
|
||||
|
||||
try {
|
||||
getRawConfigRegistry().loadAll(this);
|
||||
} catch (IOException e) {
|
||||
LOGGER.error("Failed to load configurations due to I/O error", e);
|
||||
return false; // reload failed
|
||||
} catch (PackLoadFailuresException e) {
|
||||
LOGGER.error("Failed to load configurations due to pack load failures", e);
|
||||
return false; // reload failed
|
||||
} catch (Exception e) {
|
||||
// Catch any other exceptions that might be thrown
|
||||
LOGGER.error("Failed to load configurations due to unexpected error", e);
|
||||
return false;
|
||||
}
|
||||
boolean succeed = loadConfigPacks();
|
||||
|
||||
MinecraftServer.getInstanceManager().getInstances().forEach(world -> {
|
||||
if(world.generator() instanceof MinestomChunkGeneratorWrapper wrapper) {
|
||||
@ -74,9 +60,10 @@ public final class MinestomPlatform extends AbstractPlatform {
|
||||
}
|
||||
});
|
||||
|
||||
return true;
|
||||
return succeed;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public @NotNull WorldHandle getWorldHandle() {
|
||||
return worldHandle;
|
||||
|
Loading…
x
Reference in New Issue
Block a user