Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
18 Zeilen
854 B
Diff
18 Zeilen
854 B
Diff
--- a/net/minecraft/server/EntityTracker.java
|
|
+++ b/net/minecraft/server/EntityTracker.java
|
|
@@ -116,11 +116,12 @@
|
|
CrashReportSystemDetails crashreportsystemdetails = crashreport.a("Entity To Track");
|
|
|
|
crashreportsystemdetails.a("Tracking range", (Object) (i + " blocks"));
|
|
+ final int finalI = i; // CraftBukkit - fix decompile error
|
|
crashreportsystemdetails.a("Update interval", new CrashReportCallable() {
|
|
public String a() throws Exception {
|
|
- String s = "Once per " + i + " ticks";
|
|
+ String s = "Once per " + finalI + " ticks"; // CraftBukkit
|
|
|
|
- if (i == Integer.MAX_VALUE) {
|
|
+ if (finalI == Integer.MAX_VALUE) { // CraftBukkit
|
|
s = "Maximum (" + s + ")";
|
|
}
|
|
|