use of io.xol.chunkstories.core.rendering.RenderingEventsListener in project chunkstories-core by Hugobros3.
the class CoreContentPlugin method onEnable.
@Override
public void onEnable() {
itemsLogic = new ItemsLogicListener(this);
pluginExecutionContext.getPluginManager().registerEventListener(itemsLogic, this);
if (this.getPluginExecutionContext() instanceof ClientInterface) {
renderingLogic = new RenderingEventsListener(this, (ClientInterface) getPluginExecutionContext());
pluginExecutionContext.getPluginManager().registerEventListener(renderingLogic, this);
}
}
Aggregations