remove two lines not need
@@ -104,8 +104,6 @@ private void updatePing(EntityRef entity) {
@ReceiveEvent(components = ClientComponent.class)
public void onDeactivatePing(DeactivatePingServerEvent event, EntityRef entity) {
- entity.removeComponent(PingSubscriberComponent.class);
- entity.send(new DeactivatePingClientEvent(entity));
if (entityManager.getCountOfEntitiesWith(PingSubscriberComponent.class) == 0) {
startMap.clear();
endMap.clear();
