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

改进兼容性

This commit is contained in:
XiaoMoMi
2025-12-09 16:47:03 +08:00
parent da2f25cde5
commit 4918c391a1
2 changed files with 9 additions and 1 deletions

View File

@@ -178,4 +178,12 @@ public class BukkitFurniture extends Furniture {
public Entity getBukkitEntity() {
return this.metaEntity.get();
}
/**
* Use {@link #getBukkitEntity()} instead
*/
@Deprecated
public Entity baseEntity() {
return getBukkitEntity();
}
}