forked from SteamWar/SteamWar
Remove remnatn of old impl
This commit is contained in:
@@ -59,7 +59,6 @@ public class REntityServer implements Listener {
|
|||||||
private final BiFunction<Player, ServerboundInteractPacket, Object> filter = (player, packet) -> {
|
private final BiFunction<Player, ServerboundInteractPacket, Object> filter = (player, packet) -> {
|
||||||
REntity entity = entityMap.get(packet.getEntityId());
|
REntity entity = entityMap.get(packet.getEntityId());
|
||||||
if (entity == null) return packet;
|
if (entity == null) return packet;
|
||||||
REntity targetEntity = entity instanceof RInteractionEntity ? ((RInteractionEntity) entity).getOwner() : entity;
|
|
||||||
|
|
||||||
if (playersThatClicked.contains(player)) return null;
|
if (playersThatClicked.contains(player)) return null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user