remove assumption that world starts at Y=0

This commit is contained in:
dfsek
2021-02-24 19:48:43 -07:00
parent dd446b3034
commit 4a47815be7
11 changed files with 51 additions and 58 deletions

View File

@@ -77,6 +77,11 @@ public class BukkitWorld implements World {
return new BukkitEntity(delegate.spawnEntity(BukkitAdapter.adapt(location), ((BukkitEntityType) entityType).getHandle()));
}
@Override
public int getMinHeight() {
return 0;
}
@Override
public org.bukkit.World getHandle() {
return delegate;