mirror of
https://github.com/xSquishyLiam/mc-GeyserModelEnginePackGenerator-extension.git
synced 2025-12-19 14:59:16 +00:00
Add a property to allow to disable pack auto load
This commit is contained in:
@@ -64,7 +64,9 @@ public class ExtensionMain implements Extension {
|
||||
|
||||
@Subscribe
|
||||
public void onPackLoad(GeyserLoadResourcePacksEvent event) {
|
||||
event.resourcePacks().add(generatedPackZip);
|
||||
if (Boolean.parseBoolean(System.getProperty("geyser-model-engine-auto-load-pack", "true"))) {
|
||||
event.resourcePacks().add(generatedPackZip);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user