Add extended PaperServerListPingEvent
Add a new event that extends the original ServerListPingEvent and allows full control of the response sent to the client.
This commit is contained in:
@@ -18,4 +18,9 @@ public interface CachedServerIcon {
|
||||
@Nullable
|
||||
public String getData(); // Paper
|
||||
|
||||
// Paper start
|
||||
default boolean isEmpty() {
|
||||
return getData() == null;
|
||||
}
|
||||
// Paper end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user