Mappings Update

This commit is contained in:
md_5
2018-12-13 11:00:00 +11:00
parent a3c2ec0314
commit c64fe5080c
80 changed files with 469 additions and 518 deletions

View File

@@ -9,17 +9,30 @@
private final GameProfileRepository g;
protected final Gson b;
private final File h;
@@ -330,11 +330,11 @@
}
@@ -69,7 +69,7 @@
this.h = file;
GsonBuilder gsonbuilder = new GsonBuilder();
- gsonbuilder.registerTypeHierarchyAdapter(UserCache.UserCacheEntry.class, new UserCache.BanEntrySerializer(null));
+ gsonbuilder.registerTypeHierarchyAdapter(UserCache.UserCacheEntry.class, new UserCache.BanEntrySerializer()); // CraftBukkit - decompile error
this.b = gsonbuilder.create();
this.b();
}
@@ -120,7 +120,7 @@
date = calendar.getTime();
}
- public JsonElement serialize(Object object, Type type, JsonSerializationContext jsonserializationcontext) {
+ public JsonElement serialize(UserCacheEntry object, Type type, JsonSerializationContext jsonserializationcontext) { // CraftBukkit - decompile error
return this.a((UserCache.UserCacheEntry) object, type, jsonserializationcontext);
}
- UserCache.UserCacheEntry usercache_usercacheentry = new UserCache.UserCacheEntry(gameprofile, date, null);
+ UserCache.UserCacheEntry usercache_usercacheentry = new UserCache.UserCacheEntry(gameprofile, date); // CraftBukkit - decompile error
- public Object deserialize(JsonElement jsonelement, Type type, JsonDeserializationContext jsondeserializationcontext) throws JsonParseException {
+ public UserCacheEntry deserialize(JsonElement jsonelement, Type type, JsonDeserializationContext jsondeserializationcontext) throws JsonParseException { // CraftBukkit - decompile error
return this.a(jsonelement, type, jsondeserializationcontext);
}
if (this.e.containsKey(uuid)) {
UserCache.UserCacheEntry usercache_usercacheentry1 = (UserCache.UserCacheEntry) this.e.get(uuid);
@@ -314,7 +314,7 @@
return null;
}
- return UserCache.this.new UserCacheEntry(new GameProfile(uuid, s1), date, null);
+ return UserCache.this.new UserCacheEntry(new GameProfile(uuid, s1), date); // CraftBukkit - decompile error
} else {
return null;
}