Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 11:00:05 +01:00
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