mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 12:42:22 -04:00
Fix /unflood all not working with renamed active water/lava
This commit is contained in:
parent
436fb719ad
commit
8371ed505e
@ -35,9 +35,8 @@ namespace MCGalaxy.Commands.World {
|
|||||||
CmdPhysics.SetPhysics(p.level, 0);
|
CmdPhysics.SetPhysics(p.level, 0);
|
||||||
|
|
||||||
Command cmd = Command.Find("ReplaceAll");
|
Command cmd = Command.Find("ReplaceAll");
|
||||||
string args = message.CaselessEq("all") ?
|
string args = !message.CaselessEq("all") ? message :
|
||||||
"lavafall waterfall lava_fast active_lava active_water " +
|
"8 10 lavafall waterfall lava_fast active_hot_lava active_cold_water fast_hot_lava magma geyser";
|
||||||
"active_hot_lava active_cold_water fast_hot_lava magma geyser" : message;
|
|
||||||
cmd.Use(p, args + " air");
|
cmd.Use(p, args + " air");
|
||||||
|
|
||||||
CmdPhysics.SetPhysics(p.level, phys);
|
CmdPhysics.SetPhysics(p.level, phys);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user