Mappings Update

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-12-13 11:00:00 +11:00
parent 8817bc22d9
commit 83baf22bde
80 changed files with 469 additions and 518 deletions

View File

@@ -19,7 +19,7 @@
@@ -52,6 +54,7 @@
}
public void a(String s) {
public void enter(String s) {
+ if (!ENABLED) return; // CraftBukkit
if (this.d) {
if (!this.e.isEmpty()) {
@@ -30,14 +30,14 @@
public void a(Supplier<String> supplier) {
+ if (!ENABLED) return; // CraftBukkit
if (this.d) {
this.a((String) supplier.get());
this.enter((String) supplier.get());
}
}
public void e() {
public void exit() {
+ if (!ENABLED) return; // CraftBukkit
if (this.d && !this.c.isEmpty()) {
long i = SystemUtils.c();
long i = SystemUtils.getMonotonicNanos();
long j = (Long) this.c.remove(this.c.size() - 1);
@@ -92,6 +97,7 @@
}
@@ -50,10 +50,10 @@
@@ -154,11 +160,13 @@
}
public void c(String s) {
public void exitEnter(String s) {
+ if (!ENABLED) return; // CraftBukkit
this.e();
this.a(s);
this.exit();
this.enter(s);
}
public String f() {
@@ -61,12 +61,3 @@
return this.b.isEmpty() ? "[UNKNOWN]" : (String) this.b.get(this.b.size() - 1);
}
@@ -178,7 +186,7 @@
return methodprofiler_profilerinfo.a < this.a ? -1 : (methodprofiler_profilerinfo.a > this.a ? 1 : methodprofiler_profilerinfo.c.compareTo(this.c));
}
- public int compareTo(Object object) {
+ public int compareTo(MethodProfiler.ProfilerInfo object) { // CraftBukkit: decompile error
return this.a((MethodProfiler.ProfilerInfo) object);
}
}