3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-26 16:12:50 +01:00

Fix ResultedEvent.GenericResult.DENIED

It was true!

Signed-off-by: Jadon Fowler <jadonflower@gmail.com>
Dieser Commit ist enthalten in:
Jadon Fowler 2018-08-24 22:06:54 -07:00
Ursprung 1acf9e1bbb
Commit f23fd30572
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B98B526268287A29

Datei anzeigen

@ -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;