This commit is contained in:
Jesse Boyd 2018-07-07 09:11:23 +10:00
parent 185fe39942
commit 5d04c64d48
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -739,7 +739,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
public UUIDHandlerImplementation initUUIDHandler() { public UUIDHandlerImplementation initUUIDHandler() {
boolean checkVersion = false; boolean checkVersion = false;
try { try {
OfflinePlayer.class.getDeclaredMethod("getUniqueID"); OfflinePlayer.class.getDeclaredMethod("getUniqueId");
checkVersion = true; checkVersion = true;
} catch (Throwable ignore) {} } catch (Throwable ignore) {}
UUIDWrapper wrapper; UUIDWrapper wrapper;