mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 14:00:14 +00:00
use FailThrough when available
This commit is contained in:
1 parent
deb1063592
commit
ba53923e8c
14 files changed
+32
-16
No files matched your search
+2
-1
@@ -21,6 +21,7 @@ public class FeatureAddon extends TerraAddon {
|
||||
main.getEventManager()
|
||||
.getHandler(FunctionalEventHandler.class)
|
||||
.register(this, ConfigPackPreLoadEvent.class)
|
||||
.then(event -> event.getPack().registerConfigType(new FeatureConfigType(), "FEATURE", 2));
|
||||
.then(event -> event.getPack().registerConfigType(new FeatureConfigType(), "FEATURE", 2))
|
||||
.failThrough();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user