forked from SteamWar/SteamWar
Test if broadcasting apollo:json acceptance triggers ModList sending.
This commit is contained in:
@@ -23,10 +23,7 @@ import com.comphenix.tinyprotocol.Reflection;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.*;
|
||||
|
||||
public class BlockIdWrapper18 extends BlockIdWrapper14 {
|
||||
|
||||
@@ -39,7 +36,7 @@ public class BlockIdWrapper18 extends BlockIdWrapper14 {
|
||||
|
||||
@Override
|
||||
public void untrackEntity(Player player, Entity entity) {
|
||||
hiddenEntities.get(player).put(entity.getUniqueId(), Collections.emptySet());
|
||||
hiddenEntities.get(player).put(entity.getUniqueId(), new HashSet<>(1));
|
||||
super.untrackEntity(player, entity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user