From 8371ed505e01afca52b4fbe1db054e8463cf9425 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 29 Jun 2018 12:47:06 +1000 Subject: [PATCH] Fix /unflood all not working with renamed active water/lava --- MCGalaxy/Commands/World/CmdUnflood.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MCGalaxy/Commands/World/CmdUnflood.cs b/MCGalaxy/Commands/World/CmdUnflood.cs index bf3ce38c4..7655dfc36 100644 --- a/MCGalaxy/Commands/World/CmdUnflood.cs +++ b/MCGalaxy/Commands/World/CmdUnflood.cs @@ -35,9 +35,8 @@ namespace MCGalaxy.Commands.World { CmdPhysics.SetPhysics(p.level, 0); Command cmd = Command.Find("ReplaceAll"); - string args = message.CaselessEq("all") ? - "lavafall waterfall lava_fast active_lava active_water " + - "active_hot_lava active_cold_water fast_hot_lava magma geyser" : message; + string args = !message.CaselessEq("all") ? message : + "8 10 lavafall waterfall lava_fast active_hot_lava active_cold_water fast_hot_lava magma geyser"; cmd.Use(p, args + " air"); CmdPhysics.SetPhysics(p.level, phys);