Add mc-dev imports

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-04-07 15:03:29 +10:00
parent 0352f0e143
commit 97cd7810a3
21 changed files with 308 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
--- a/net/minecraft/server/players/UserCache.java
+++ b/net/minecraft/server/players/UserCache.java
@@ -1,3 +1,4 @@
+// mc-dev import
package net.minecraft.server.players;
import com.google.common.collect.ImmutableList;
@@ -83,7 +84,7 @@
}
public void onProfileLookupFailed(GameProfile gameprofile, Exception exception) {
- atomicreference.set((Object) null);
+ atomicreference.set(null); // CraftBukkit - decompile error
}
};