use of com.skelril.skree.content.world.main.MainWorldWrapper in project Skree by Skelril.
the class WorldSystem method initWrappers.
private void initWrappers() throws IOException {
List<WorldEffectWrapper> wrappers = Lists.newArrayList(new MainWorldWrapper(), new BuildWorldWrapper(), new InstanceWorldWrapper(), new WildernessWorldWrapper(ConfigLoader.loadConfig("wilderness.json", WildernessConfig.class)));
for (WorldEffectWrapper wrapper : wrappers) {
this.wrappers.put(wrapper.getName(), wrapper);
Sponge.getEventManager().registerListeners(SkreePlugin.inst(), wrapper);
service.registerEffectWrapper(wrapper);
}
}
Aggregations