| 2189 | } |
| 2190 | |
| 2191 | bool WorldClient::playerCanReachEntity(EntityId entityId, bool preferInteractive) const { |
| 2192 | return m_mainPlayer->isAdmin() || canReachEntity(m_mainPlayer->position(), m_mainPlayer->interactRadius(), entityId, preferInteractive); |
| 2193 | } |
| 2194 | |
| 2195 | void WorldClient::disconnectAllWires(Vec2I wireEntityPosition, WireNode const& node) { |
| 2196 | m_outgoingPackets.append(make_shared<DisconnectAllWiresPacket>(wireEntityPosition, node)); |
no test coverage detected