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