Update CmdOverseer.cs

This commit is contained in:
Venom983 2015-09-17 22:33:53 -04:00
parent 999be2ff65
commit a4f0b1ebd7

View File

@ -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");