SPIGOT-4632: BlockState location is not fixed

This commit is contained in:
md_5 2019-02-21 20:32:44 +11:00
parent 14cd1688da
commit 6430d9c0ba

View File

@ -40,7 +40,7 @@ public class CraftBlock implements Block {
public CraftBlock(GeneratorAccess world, BlockPosition position) { public CraftBlock(GeneratorAccess world, BlockPosition position) {
this.world = world; this.world = world;
this.position = position; this.position = position.h();
} }
public static CraftBlock at(GeneratorAccess world, BlockPosition position) { public static CraftBlock at(GeneratorAccess world, BlockPosition position) {