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 b0f0a4deb5
commit de510108a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 105 additions and 107 deletions

View file

@ -37,14 +37,14 @@ import net.minecraft.server.v1_16_R2.MinecraftServer;
* Helper for isolation of bukkit version specific issues
*/
public class BukkitVersionHelperSpigot116_2 extends BukkitVersionHelperGeneric {
private final boolean unsafeAsync;
private Field watercolorfield;
private final boolean unsafeAsync;
private Field watercolorfield;
public BukkitVersionHelperSpigot116_2() {
Class biomefog = getNMSClass("net.minecraft.server.BiomeFog");
watercolorfield = getPrivateField(biomefog, new String[] { "c" }, int.class);
this.unsafeAsync = true;
}
this.unsafeAsync = true;
}
/**
* Get block short name list