mirror of
				https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
				synced 2025-10-31 16:19:01 +01:00 
			
		
		
		
	reverted commit 35f154aa
				
					
				
			This commit is contained in:
		| @@ -105,9 +105,7 @@ public class ShipMap { | ||||
|      * Removes all items from the map and triggers corresponding removal events for each. | ||||
|      */ | ||||
|     public void clear() { | ||||
|         while (!items.isEmpty()) { | ||||
|             notifyListeners(new ItemRemovedEvent(items.removeFirst(), this)); | ||||
|         } | ||||
|         new ArrayList<>(items).forEach(this::remove); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user