mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Fix /cylinder. (Thanks Joshim4)
This commit is contained in:
parent
f357ce10a9
commit
965e9c6ecc
@ -33,6 +33,14 @@ namespace MCGalaxy.Commands.Building {
|
||||
return p.BrushName;
|
||||
}
|
||||
|
||||
protected override DrawMode GetMode(string[] parts) {
|
||||
string msg = parts[parts.Length - 1];
|
||||
if (msg == "solid") return DrawMode.solid;
|
||||
else if (msg == "hollow") return DrawMode.hollow;
|
||||
else if (msg == "vertical") return DrawMode.vertical;
|
||||
return DrawMode.normal;
|
||||
}
|
||||
|
||||
protected override DrawOp GetDrawOp(DrawArgs dArgs) {
|
||||
switch (dArgs.Mode) {
|
||||
case DrawMode.hollow: return new EllipsoidHollowDrawOp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user