9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-25 01:49:30 +00:00

fix(bukkit): 优化实体移除逻辑

This commit is contained in:
jhqwqmc
2025-04-08 15:34:12 +08:00
parent 48ae6d1c8d
commit cea6bb15ab

View File

@@ -1104,8 +1104,8 @@ public class PacketConsumers {
user.entityView().remove(entityId);
List<Integer> entities = user.furnitureView().remove(entityId);
if (entities == null) continue;
for (int entityId1 : entities) {
intList.add(entityId1);
for (int subEntityId : entities) {
intList.add(subEntityId);
}
}
} catch (Exception e) {