geforkt von Mirrors/Velocity
Fix ResultedEvent.GenericResult.DENIED
It was true! Signed-off-by: Jadon Fowler <jadonflower@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
1acf9e1bbb
Commit
f23fd30572
@ -41,7 +41,7 @@ public interface ResultedEvent<R extends ResultedEvent.Result> {
|
|||||||
*/
|
*/
|
||||||
class GenericResult implements Result {
|
class GenericResult implements Result {
|
||||||
private static final GenericResult ALLOWED = new GenericResult(true);
|
private static final GenericResult ALLOWED = new GenericResult(true);
|
||||||
private static final GenericResult DENIED = new GenericResult(true);
|
private static final GenericResult DENIED = new GenericResult(false);
|
||||||
|
|
||||||
private final boolean allowed;
|
private final boolean allowed;
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren