Revert to official minestom
This commit is contained in:
parent
76192b1f97
commit
440d4f1b48
@ -33,11 +33,11 @@ dependencies {
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
|
||||
|
||||
//https://jitpack.io/#Minestom/Minestom
|
||||
// implementation 'com.github.waxeria:Minestom:e0427a36f3'
|
||||
implementation 'com.github.waxeria:Minestom:e0427a36f3'
|
||||
|
||||
// implementation 'dev.hollowcube:minestom-ce:5bcc72b911'
|
||||
implementation 'dev.hollowcube:minestom-ce:e146a9393e'
|
||||
implementation 'dev.hollowcube:minestom-ce-extensions:1.2.0'
|
||||
// implementation 'dev.hollowcube:minestom-ce:e146a9393e'
|
||||
// implementation 'dev.hollowcube:minestom-ce-extensions:1.2.0'
|
||||
|
||||
|
||||
//Tools
|
||||
|
@ -41,13 +41,13 @@ public class Main {
|
||||
|
||||
logger.info("Initialize Minecraft server...");
|
||||
|
||||
MinecraftServer server = MinecraftServer.init();
|
||||
PvpExtension.init();
|
||||
|
||||
MinecraftServer.setBrandName("mhsl.eu - minenet - credits to minestom");
|
||||
MinecraftServer.setCompressionThreshold(serverConfig.node("compression-threshold").getInt(0));
|
||||
System.setProperty("minestom.chunk-view-distance", String.valueOf(serverConfig.node("view-distance").getInt()));
|
||||
|
||||
MinecraftServer server = MinecraftServer.init();
|
||||
PvpExtension.init();
|
||||
|
||||
MinecraftServer.getConnectionManager().setUuidProvider(new ByPlayerNameUuidProvider());
|
||||
|
||||
Commands.values();
|
||||
|
Loading…
x
Reference in New Issue
Block a user