Fixed #11193
This commit is contained in:
@@ -49,7 +49,7 @@ public class DrawTurret extends DrawBlock{
|
||||
@Override
|
||||
public void drawPlan(Block block, BuildPlan plan, Eachable<BuildPlan> list){
|
||||
Draw.rect(base, plan.drawx(), plan.drawy());
|
||||
Draw.rect(preview, plan.drawx(), plan.drawy(), plan.rotation * 90f - 90f);
|
||||
Draw.rect(preview, plan.drawx(), plan.drawy(), block.rotate ? plan.rotation * 90f - 90f : 0f);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -52,12 +52,8 @@ public class DesktopLauncher extends ClientLauncher{
|
||||
switch(name){
|
||||
case "width" -> width = Strings.parseInt(arg[i + 1], width);
|
||||
case "height" -> height = Strings.parseInt(arg[i + 1], height);
|
||||
case "glMajor" -> {
|
||||
gl30Major = Strings.parseInt(arg[i + 1], gl30Major);
|
||||
}
|
||||
case "glMinor" -> {
|
||||
gl30Minor = Strings.parseInt(arg[i + 1], gl30Minor);
|
||||
}
|
||||
case "glMajor" -> gl30Major = Strings.parseInt(arg[i + 1], gl30Major);
|
||||
case "glMinor" -> gl30Minor = Strings.parseInt(arg[i + 1], gl30Minor);
|
||||
case "gl3" -> gl30 = true;
|
||||
case "gl2" -> gl30 = false;
|
||||
case "coreGl" -> coreProfile = true;
|
||||
|
||||
Reference in New Issue
Block a user