Fix pre-1.13 startup problem without breaking 1.13.1...
This commit is contained in:
parent
3c3f1af551
commit
6bb050151f
4 changed files with 14 additions and 5 deletions
|
|
@ -46,6 +46,11 @@ public class BukkitVersionHelperSpigot113 extends BukkitVersionHelperCB {
|
|||
protected Class<?> datapalettearray;
|
||||
private Field blockid_field;
|
||||
|
||||
@Override
|
||||
protected boolean isBlockIdNeeded() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public BukkitVersionHelperSpigot113() {
|
||||
datapalettearray = getNMSClass("[Lnet.minecraft.server.DataPaletteBlock;");
|
||||
blockid_field = getPrivateField(craftchunksnapshot, new String[] { "blockids" }, datapalettearray);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue