mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
Bandaid for MrApple's CB 1.6.1
This commit is contained in:
parent
b85c38e3a7
commit
32a1c20fd0
@ -44,7 +44,7 @@ public class BukkitVersionHelperCB extends BukkitVersionHelperGeneric {
|
|||||||
nmsblockarray = getNMSClass("[Lnet.minecraft.server.Block;");
|
nmsblockarray = getNMSClass("[Lnet.minecraft.server.Block;");
|
||||||
nmsmaterial = getNMSClass("net.minecraft.server.Material");
|
nmsmaterial = getNMSClass("net.minecraft.server.Material");
|
||||||
blockbyid = getField(nmsblock, new String[] { "byId" }, nmsblockarray);
|
blockbyid = getField(nmsblock, new String[] { "byId" }, nmsblockarray);
|
||||||
blockname = getPrivateField(nmsblock, new String[] { "name" }, String.class);
|
blockname = getPrivateField(nmsblock, new String[] { "name", "b" }, String.class);
|
||||||
material = getField(nmsblock, new String[] { "material" }, nmsmaterial);
|
material = getField(nmsblock, new String[] { "material" }, nmsmaterial);
|
||||||
|
|
||||||
/* Set up biomebase fields */
|
/* Set up biomebase fields */
|
||||||
|
Loading…
Reference in New Issue
Block a user