Fix spaces

* fix 1.16.2 spaces

* fix 1.16.4 spaces

* fix 1.16

* fix 1.16.0 x2

* fix 1.17

* fix 1.18.2

* fix 1.18.2 map cache

* fix 1.18.2 map cache p2

* fix 1.18

* fix 1.16.3
This commit is contained in:
mastermc05 2022-03-30 15:39:58 +03:00 committed by GitHub
parent 2c01947919
commit 4b77e2b826
8 changed files with 105 additions and 107 deletions

View file

@ -66,8 +66,7 @@ public class MapChunkCache118_2 extends GenericMapChunkCache {
} else { } else {
nbt = provider.getChunk(cw.getHandle(),chunk.x, chunk.z); nbt = provider.getChunk(cw.getHandle(),chunk.x, chunk.z);
} }
} catch (IOException | InvocationTargetException | IllegalAccessException | NoSuchFieldException ignored) { } catch (IOException | InvocationTargetException | IllegalAccessException | NoSuchFieldException ignored) {}
}
if (nbt != null) { if (nbt != null) {
gc = parseChunkFromNBT(new NBT.NBTCompound(nbt)); gc = parseChunkFromNBT(new NBT.NBTCompound(nbt));
} }

View file

@ -64,7 +64,6 @@ import java.util.Set;
* Helper for isolation of bukkit version specific issues * Helper for isolation of bukkit version specific issues
*/ */
public class BukkitVersionHelperSpigot118 extends BukkitVersionHelper { public class BukkitVersionHelperSpigot118 extends BukkitVersionHelper {
private final boolean unsafeAsync; private final boolean unsafeAsync;
public BukkitVersionHelperSpigot118() { public BukkitVersionHelperSpigot118() {