SPIGOT-4230: Improve legacy block types

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-08-05 10:04:19 +10:00
parent 95095d9c58
commit 2c8962edfa
4 changed files with 21 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ public class CraftBlock implements Block {
return getNMS().getBlock();
}
protected net.minecraft.server.IBlockData getNMS() {
public net.minecraft.server.IBlockData getNMS() {
return world.getType(position);
}