From 8f0229bb2df56669610fa9cdf54effecad77c5cf Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 19 Feb 2017 15:56:45 +1100 Subject: [PATCH] Fix mistakes in recent commits --- MCGalaxy/Commands/building/CmdPalette.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCGalaxy/Commands/building/CmdPalette.cs b/MCGalaxy/Commands/building/CmdPalette.cs index 5c19a4024..cd7fa3d33 100644 --- a/MCGalaxy/Commands/building/CmdPalette.cs +++ b/MCGalaxy/Commands/building/CmdPalette.cs @@ -142,7 +142,7 @@ namespace MCGalaxy.Commands.Building { if (block == Block.Invalid) { Player.Message(p, "Skip block may not be used for palettes."); return Block.Invalid; } - if (block >= Block.CpeCount) { + if (block >= Block.CpeCount && block != Block.custom_block) { Player.Message(p, "Physics blocks may not be used for palettes."); return Block.Invalid; }