mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
feat: add more features declaration (#732)
This commit is contained in:
@@ -6,4 +6,6 @@ public class Features {
|
||||
public static final String FAKEPLAYER = "fakeplayer";
|
||||
public static final String PHOTOGRAPHER = "photographer";
|
||||
public static final String RECORDER = "recorder";
|
||||
public static final String BYTEBUF = "bytebuf";
|
||||
public static final String UPDATE_SUPPRESSION_EVENT = "update_suppression_event";
|
||||
}
|
||||
|
||||
@@ -13,7 +13,9 @@ public class ServerFeatureManager implements FeatureManager {
|
||||
private ServerFeatureManager() {
|
||||
availableFeatures.addAll(Set.of(
|
||||
FAKEPLAYER,
|
||||
PHOTOGRAPHER
|
||||
PHOTOGRAPHER,
|
||||
BYTEBUF,
|
||||
UPDATE_SUPPRESSION_EVENT
|
||||
));
|
||||
if (Boolean.getBoolean("leavesclip.enable.mixin")) {
|
||||
availableFeatures.add(MIXIN);
|
||||
|
||||
Reference in New Issue
Block a user