9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 04:19:27 +00:00

允许重叠的物品

This commit is contained in:
XiaoMoMi
2025-09-11 02:15:09 +08:00
parent e1fdc17fd2
commit b817426575
4 changed files with 9 additions and 7 deletions

View File

@@ -44,7 +44,8 @@ public class BukkitWorld implements World {
@Override
public WorldHeight worldHeight() {
if (this.worldHeight == null) {
this.worldHeight = WorldHeight.create(platformWorld().getMinHeight(), platformWorld().getMaxHeight() - platformWorld().getMinHeight());
org.bukkit.World bWorld = platformWorld();
this.worldHeight = WorldHeight.create(bWorld.getMinHeight(), bWorld.getMaxHeight() - bWorld.getMinHeight());
}
return this.worldHeight;
}