From ea37dc8287389f78c14ec53199ba844108a9d5b0 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 22 Jul 2024 11:01:03 +0200 Subject: [PATCH] Fix MissileWars --- src/de/steamwar/misslewars/MissileWars.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/misslewars/MissileWars.java b/src/de/steamwar/misslewars/MissileWars.java index fb9a38e..a49c3c0 100644 --- a/src/de/steamwar/misslewars/MissileWars.java +++ b/src/de/steamwar/misslewars/MissileWars.java @@ -96,8 +96,8 @@ public class MissileWars extends JavaPlugin { Bukkit.getWorlds().forEach(world -> { world.setGameRule(GameRule.KEEP_INVENTORY, true); + world.setGameRule(GameRule.MOB_GRIEFING, true); world.setGameRule(GameRule.DO_TILE_DROPS, false); - world.setGameRule(GameRule.MOB_GRIEFING, false); }); // TODO: Enable Item Dropping, and the own team can pick them up! Add config value for that?