This commit is contained in:
yuyu 2024-08-03 13:32:54 +08:00
parent 667f88fe7e
commit d21bf4b7f5
6 changed files with 1 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/PlayerRisk-1.2.jar Normal file

Binary file not shown.

Binary file not shown.

View File

@ -263,13 +263,7 @@ public class EntityRefreshListener implements Listener, CommandExecutor {
if (flag) { if (flag) {
Player player = event.getPlayer(); Player player = event.getPlayer();
String name = player.getName(); String name = player.getName();
//下线后移出刷新列表
// if (refreshPlayer.get(name) != null) {
// List<UUID> entityList = refreshPlayer.get(name).getEntityList();
// for (UUID uuid : entityList){
// //删除储存的实体信息
// entityUUIDToPlayer.remove(uuid);
// }
refreshPlayer.remove(name); refreshPlayer.remove(name);
logger.info(ChatColor.GOLD + "玩家被移出刷新集合"); logger.info(ChatColor.GOLD + "玩家被移出刷新集合");
} }