Fix -ignite -micro enable -water by default
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
2f5eb080cf
Commit
b1cd4604eb
@ -92,11 +92,14 @@ public class EntityShowMode implements ShowMode<TNTPosition> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boolean exploded = position.getRecord().getPositions().stream().anyMatch(TNTPosition::isExploded);
|
||||||
|
boolean hideWater = !showModeParameter.isWater() && exploded && checkWater(position.getLocation());
|
||||||
|
|
||||||
if (showModeParameter.isExplodeOnly()) {
|
if (showModeParameter.isExplodeOnly()) {
|
||||||
if (position.isExploded()) {
|
if (position.isExploded()) {
|
||||||
generatePositions(position, false, false);
|
generatePositions(position, false, false);
|
||||||
}
|
}
|
||||||
if (!showModeParameter.isSourceOnly()) {
|
if (!showModeParameter.isSourceOnly() && !hideWater) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -105,11 +108,13 @@ public class EntityShowMode implements ShowMode<TNTPosition> {
|
|||||||
if (position.isSource()) {
|
if (position.isSource()) {
|
||||||
generatePositions(position, false, false);
|
generatePositions(position, false, false);
|
||||||
}
|
}
|
||||||
return;
|
if (!hideWater) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean exploded = position.getRecord().getPositions().stream().anyMatch(TNTPosition::isExploded);
|
|
||||||
if (!showModeParameter.isWater() && exploded && checkWater(position.getLocation())) {
|
if (hideWater) {
|
||||||
if (position.isExploded()) {
|
if (position.isExploded()) {
|
||||||
for (TNTPosition pos : position.getRecord().getPositions()) {
|
for (TNTPosition pos : position.getRecord().getPositions()) {
|
||||||
generatePositions(pos, showModeParameter.isInterpolateY(), showModeParameter.isInterpolateXZ(), (positionType, vector) -> {
|
generatePositions(pos, showModeParameter.isInterpolateY(), showModeParameter.isInterpolateXZ(), (positionType, vector) -> {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren