Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Fix ResultedEvent.GenericResult.DENIED
It was true! Signed-off-by: Jadon Fowler <jadonflower@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
168c36facf
Commit
32409c201e
@ -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