Fix items not saving when room unloaded during client disconnection

This commit is contained in:
Beny 2020-08-16 00:19:25 +02:00
parent 01edb31b40
commit f247588658

View File

@ -386,8 +386,8 @@ public class RoomManager {
if (Emulator.getPluginManager().fireEvent(new RoomUncachedEvent(room)).isCancelled())
continue;
this.activeRooms.remove(room.getId());
room.dispose();
this.activeRooms.remove(room.getId());
}
}