mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 21:51:19 -04:00
Fix mistakes in recent commits
This commit is contained in:
parent
03c95a322e
commit
8f0229bb2d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user