@@ -18,3 +18,21 @@
|
||||
if (optional.isPresent()) {
|
||||
this.add((GameProfile) optional.get());
|
||||
flag = false;
|
||||
@@ -208,7 +208,7 @@
|
||||
|
||||
label54:
|
||||
{
|
||||
- ArrayList arraylist;
|
||||
+ List<UserCache.UserCacheEntry> arraylist; // CraftBukkit - decompile error
|
||||
|
||||
try {
|
||||
JsonArray jsonarray = (JsonArray) this.gson.fromJson(bufferedreader, JsonArray.class);
|
||||
@@ -217,7 +217,7 @@
|
||||
DateFormat dateformat = createDateFormat();
|
||||
|
||||
jsonarray.forEach((jsonelement) -> {
|
||||
- Optional optional = readGameProfile(jsonelement, dateformat);
|
||||
+ Optional<UserCache.UserCacheEntry> optional = readGameProfile(jsonelement, dateformat); // CraftBukkit - decompile error
|
||||
|
||||
Objects.requireNonNull(list);
|
||||
optional.ifPresent(list::add);
|
||||
|
||||
Reference in New Issue
Block a user