geforkt von Mirrors/Velocity
Merge pull request #53 from phase/fix/generic-result
Fix ResultedEvent.GenericResult.DENIED
Dieser Commit ist enthalten in:
Commit
6e49960aec
@ -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