geforkt von Mirrors/FastAsyncWorldEdit
Fixed switch treating continue like break.
Dieser Commit ist enthalten in:
Ursprung
daf1dde701
Commit
09589e2a79
@ -80,6 +80,8 @@ public class Switch extends Node implements RValue {
|
|||||||
|
|
||||||
return defaultCase == null ? ret : defaultCase.getValue();
|
return defaultCase == null ? ret : defaultCase.getValue();
|
||||||
} catch (BreakException e) {
|
} catch (BreakException e) {
|
||||||
|
if (e.doContinue) throw e;
|
||||||
|
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren