mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 16:50:17 +01:00
26 lines
1.4 KiB
Diff
26 lines
1.4 KiB
Diff
--- /home/matt/mc-dev-private//net/minecraft/server/EntityTracker.java 2015-02-26 22:40:22.719608138 +0000
|
|
+++ src/main/java/net/minecraft/server/EntityTracker.java 2015-02-26 22:40:22.719608138 +0000
|
|
@@ -14,7 +14,7 @@
|
|
private static final Logger a = LogManager.getLogger();
|
|
private final WorldServer world;
|
|
private Set<EntityTrackerEntry> c = Sets.newHashSet();
|
|
- private IntHashMap<EntityTrackerEntry> trackedEntities = new IntHashMap();
|
|
+ public IntHashMap<EntityTrackerEntry> trackedEntities = new IntHashMap(); // CraftBukkit - public
|
|
private int e;
|
|
|
|
public EntityTracker(WorldServer worldserver) {
|
|
@@ -113,11 +113,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 Callable() {
|
|
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 + ")";
|
|
}
|
|
|