From 3da00917a099617abc95bc2ccaed1308302ce7f0 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 27 Oct 2021 20:56:05 +0200 Subject: [PATCH] Hotfix MWTeam --- src/de/steamwar/misslewars/MWTeam.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/misslewars/MWTeam.java b/src/de/steamwar/misslewars/MWTeam.java index 25e3f00..bf8f859 100644 --- a/src/de/steamwar/misslewars/MWTeam.java +++ b/src/de/steamwar/misslewars/MWTeam.java @@ -163,6 +163,7 @@ public class MWTeam { List tempPlayer = new ArrayList<>(players); players.clear(); + tempPlayer.forEach(player -> player.getInventory().clear()); tempPlayer.forEach(this::join); }