Prechádzať zdrojové kódy

fix fall-protection config option

RedstoneFuture 3 rokov pred
rodič
commit
546238454a

+ 1 - 1
missilewars-plugin/src/main/java/de/butzlabben/missilewars/listener/GameListener.java

@@ -246,7 +246,7 @@ public class GameListener extends GameBoundListener {
             e.setRespawnLocation(t.getSpawn());
             e.setRespawnLocation(t.getSpawn());
             FallProtectionConfiguration fallProtection = getGame().getArena().getFallProtection();
             FallProtectionConfiguration fallProtection = getGame().getArena().getFallProtection();
             if (fallProtection.isEnabled())
             if (fallProtection.isEnabled())
-                new RespawnGoldBlock(e.getPlayer(), fallProtection.getDuration(), fallProtection.isMessage_only_on_start(), getGame());
+                new RespawnGoldBlock(e.getPlayer(), fallProtection.getDuration(), fallProtection.isMessageOnlyOnStart(), getGame());
         } else {
         } else {
             e.setRespawnLocation(getGame().getArena().getSpectatorSpawn());
             e.setRespawnLocation(getGame().getArena().getSpectatorSpawn());
         }
         }