Remove unnecessary client features
This commit is contained in:
@@ -676,6 +676,15 @@
|
||||
}
|
||||
|
||||
public CustomBossEvents getCustomBossEvents() {
|
||||
@@ -2549,7 +_,7 @@
|
||||
this.dumpServerProperties(path.resolve("server.properties.txt"));
|
||||
this.dumpNativeModules(path.resolve("modules.txt"));
|
||||
} catch (IOException var7) {
|
||||
- LOGGER.warn("Failed to save debug report", (Throwable)var7);
|
||||
+ LOGGER.warn("Failed to save debug report", var7); // Plazma - Remove unnecessary type casting
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2582,9 +_,8 @@
|
||||
private void dumpClasspath(Path path) throws IOException {
|
||||
try (Writer bufferedWriter = Files.newBufferedWriter(path)) {
|
||||
@@ -687,12 +696,3 @@
|
||||
bufferedWriter.write(string);
|
||||
bufferedWriter.write("\n");
|
||||
}
|
||||
@@ -2636,7 +_,7 @@
|
||||
}
|
||||
|
||||
public static MinecraftServer getServer() {
|
||||
- return SERVER; // Paper
|
||||
+ return Objects.requireNonNull(SERVER); // Paper
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
|
||||
Reference in New Issue
Block a user