diff --git a/MCGalaxy/Commands/Moderation/ModActionCmd.cs b/MCGalaxy/Commands/Moderation/ModActionCmd.cs index 116954506..6f050d14d 100644 --- a/MCGalaxy/Commands/Moderation/ModActionCmd.cs +++ b/MCGalaxy/Commands/Moderation/ModActionCmd.cs @@ -121,7 +121,7 @@ namespace MCGalaxy.Commands.Moderation { if (!CommandParser.IsBlockAllowed(who, "place", block)) { who.BlockBindings[b] = (BlockID)b; Player.Message(who, " Hence, binding for &b{0} %Swas unbound", - Block.GetName(who, defaultBinding)); + Block.GetName(who, (BlockID)b)); } } } diff --git a/MCGalaxy/Drawing/Flip.cs b/MCGalaxy/Drawing/Flip.cs index f212cb9e1..55306495d 100644 --- a/MCGalaxy/Drawing/Flip.cs +++ b/MCGalaxy/Drawing/Flip.cs @@ -104,7 +104,7 @@ namespace MCGalaxy.Drawing { return flipped; } - const int posX = 0x100, negX = 0x200, posY = 0x010, negY = 0x020, posZ = 0x001, negZ = 0x002; + const int posX = 0, negX = 1, posY = 2, negY = 3, posZ = 4, negZ = 5; static int Rotate(int row, int x, int y, int z, CopyState state) { switch (row) { case posX: return x;