9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-27 10:59:07 +00:00

添加家具刷新方法

This commit is contained in:
XiaoMoMi
2025-12-18 23:30:56 +08:00
parent 433dc2e25e
commit 7cb77bed76
2 changed files with 15 additions and 2 deletions

View File

@@ -79,7 +79,9 @@ public abstract class Furniture implements Cullable {
public abstract CompletableFuture<Boolean> moveTo(WorldPosition position, boolean force);
protected abstract void refresh();
public abstract void refresh();
public abstract void refresh(Player player);
protected void clearColliders() {
if (this.colliders != null) {