mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-18 11:48:33 -04:00
Update CmdOverseer.cs
This commit is contained in:
parent
999be2ff65
commit
a4f0b1ebd7
@ -325,7 +325,7 @@ namespace MCGalaxy.Commands
|
||||
{
|
||||
int pos = message.IndexOf("horizon ");
|
||||
string horizonblock = "";
|
||||
if (message.Split(' ').Length > 2) horizonblock = message.Substring(pos + 11);
|
||||
if (message.Split(' ').Length > 2) horizonblock = message.Substring(pos + 8);
|
||||
if (horizonblock == "")
|
||||
{
|
||||
Command.all.Find("env").Use(p, "l water reset");
|
||||
@ -347,7 +347,7 @@ namespace MCGalaxy.Commands
|
||||
{
|
||||
int pos = message.IndexOf("bedrock ");
|
||||
string bedrockblock = "";
|
||||
if (message.Split(' ').Length > 2) bedrockblock = message.Substring(pos + 11);
|
||||
if (message.Split(' ').Length > 2) bedrockblock = message.Substring(pos + 8);
|
||||
if (bedrockblock == "")
|
||||
{
|
||||
Command.all.Find("env").Use(p, "l bedrock reset");
|
||||
|
Loading…
x
Reference in New Issue
Block a user