geforkt von Mirrors/FastAsyncWorldEdit
"Empty" side effects is default, and default does "apply" side effects
Dieser Commit ist enthalten in:
Ursprung
b237ddf076
Commit
059c5f046d
@ -56,7 +56,9 @@ public class SideEffectSet {
|
|||||||
.filter(entry -> entry.getValue() != SideEffect.State.OFF)
|
.filter(entry -> entry.getValue() != SideEffect.State.OFF)
|
||||||
.map(Map.Entry::getKey)
|
.map(Map.Entry::getKey)
|
||||||
.collect(Collectors.toSet());
|
.collect(Collectors.toSet());
|
||||||
appliesAny = !appliedSideEffects.isEmpty();
|
//FAWE start
|
||||||
|
appliesAny = sideEffects.isEmpty() || !appliedSideEffects.isEmpty(); // Empty side effects implies default
|
||||||
|
//FAWE end
|
||||||
}
|
}
|
||||||
|
|
||||||
public SideEffectSet with(SideEffect sideEffect, SideEffect.State state) {
|
public SideEffectSet with(SideEffect sideEffect, SideEffect.State state) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren