Fix mistakes in recent commits

This commit is contained in:
UnknownShadow200 2017-02-19 15:56:45 +11:00
parent 03c95a322e
commit 8f0229bb2d

View File

@ -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;
}