mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-25 09:59:20 +00:00
feat(core): 优化 BlockDisplay 实体数据处理
This commit is contained in:
@@ -70,7 +70,7 @@ public class BukkitServerPlayer extends Player {
|
||||
private boolean hasClientMod = false;
|
||||
// for better fake furniture visual sync
|
||||
private final Map<Integer, List<Integer>> furnitureView = new ConcurrentHashMap<>();
|
||||
private final Map<Integer, Object> blockDisplayView = new ConcurrentHashMap<>();
|
||||
private final Map<Integer, Object> entityView = new ConcurrentHashMap<>();
|
||||
|
||||
public BukkitServerPlayer(BukkitCraftEngine plugin, Channel channel) {
|
||||
this.channel = channel;
|
||||
@@ -621,7 +621,7 @@ public class BukkitServerPlayer extends Player {
|
||||
|
||||
@Override
|
||||
public Map<Integer, Object> entityView() {
|
||||
return this.blockDisplayView;
|
||||
return this.entityView;
|
||||
}
|
||||
|
||||
public void setResendSound() {
|
||||
|
||||
Reference in New Issue
Block a user