mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-19 14:59:27 +00:00
Check if item is active and added global items
This commit is contained in:
@@ -100,6 +100,10 @@ public final class NewsItem {
|
||||
return project;
|
||||
}
|
||||
|
||||
public boolean isGlobal() {
|
||||
return "all".equals(getProject());
|
||||
}
|
||||
|
||||
public boolean isActive() {
|
||||
return active;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user