From 62ed6f3642435eb64bfa268209f1ab74ed9aeb2a Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 4 Jan 2018 19:57:38 +1100 Subject: [PATCH] Fix /copy sometimes saying origin on Z axis is at min or max when it should be the opposite --- MCGalaxy/Commands/building/CmdCopy.cs | 2 +- MCGalaxy/Player/Group/Group.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MCGalaxy/Commands/building/CmdCopy.cs b/MCGalaxy/Commands/building/CmdCopy.cs index 5c75fe987..a87275bdd 100644 --- a/MCGalaxy/Commands/building/CmdCopy.cs +++ b/MCGalaxy/Commands/building/CmdCopy.cs @@ -150,7 +150,7 @@ namespace MCGalaxy.Commands.Building { Player.Message(p, "Copied &a{0} %Sblocks, origin at ({1}, {2}, {3}) corner", cState.UsedBlocks, cState.OriginX == cState.X ? "Min" : "Max", cState.OriginY == cState.Y ? "Min" : "Max", - cState.OriginY == cState.Y ? "Min" : "Max"); + cState.OriginZ == cState.Z ? "Min" : "Max"); if (!cState.PasteAir) { Player.Message(p, "To also copy air blocks, use %T/Copy Air"); } diff --git a/MCGalaxy/Player/Group/Group.cs b/MCGalaxy/Player/Group/Group.cs index abb22f606..b2e4720a3 100644 --- a/MCGalaxy/Player/Group/Group.cs +++ b/MCGalaxy/Player/Group/Group.cs @@ -180,7 +180,7 @@ namespace MCGalaxy { GroupList.Sort((a, b) => a.Permission.CompareTo(b.Permission)); standard = Find(ServerConfig.DefaultRankName); - if (standard == null) standard = GuestRank; + if (standard == null) standard = GuestRank; OnGroupLoadEvent.Call(); reloading = true;