SPIGOT-4455: ChunkData.getType returns legacy material

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-10-29 07:17:59 +11:00
parent c3d18995c4
commit 43b017f431
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ public final class CraftChunkData implements ChunkGenerator.ChunkData {
@Override
public Material getType(int x, int y, int z) {
return getTypeAndData(x, y, z).getItemType();
return CraftMagicNumbers.getMaterial(getTypeId(x, y, z).getBlock());
}
@Override