Remove unnecessary client features

This commit is contained in:
AlphaKR93
2025-02-23 17:48:16 +09:00
parent e286d62894
commit 8b0a4c75c5
290 changed files with 17716 additions and 63 deletions

View File

@@ -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