mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Fix compile error caused by adventure changes
This commit is contained in:
@@ -108,7 +108,7 @@ public interface ResultedEvent<R extends ResultedEvent.Result> {
|
||||
return "allowed";
|
||||
}
|
||||
if (reason != null) {
|
||||
return "denied: " + PlainComponentSerializer.INSTANCE.serialize(reason);
|
||||
return "denied: " + PlainComponentSerializer.plain().serialize(reason);
|
||||
}
|
||||
return "denied";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user