Mark doesn't show anything when /ignore drawoutput is on.

This commit is contained in:
UnknownShadow200 2017-09-02 11:58:19 +10:00
parent 5afb44044e
commit 1fa9c66f37

View File

@ -103,6 +103,7 @@ namespace MCGalaxy.Commands.Building {
static void PlaceMark(Player p, int x, int y, int z) {
ExtBlock block = p.GetHeldBlock();
p.ManualChange((ushort)x, (ushort)y, (ushort)z, false, block, false);
if (p.Ignores.DrawOutput) return;
Player.Message(p, "Mark placed at &b({0}, {1}, {2})", x, y, z);
}