Get 1.12.2 blockname based textures working
This commit is contained in:
parent
b4920e0246
commit
58d5e59616
5 changed files with 37 additions and 19 deletions
|
|
@ -63,7 +63,7 @@ public class NewMapChunkCache extends MapChunkCache {
|
|||
}
|
||||
|
||||
private static DynmapBlockState getTypeAt(ChunkSnapshot ss, int x, int y, int z) {
|
||||
return (DynmapBlockState) BukkitVersionHelper.stateByID.get((ss.getBlockTypeId(x, y, z) << 4) | ss.getBlockData(x, y, z));
|
||||
return BukkitVersionHelper.stateByID[(ss.getBlockTypeId(x, y, z) << 4) | ss.getBlockData(x, y, z)];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue