Skip to content

Commit

Permalink
Instantiate custom multiblock manager
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Aug 12, 2024
1 parent 7a419f2 commit 1a75088
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.slqmy.template_paper_plugin.custom_entity.CustomEntityManager;
import net.slqmy.template_paper_plugin.custom_item.CustomItem;
import net.slqmy.template_paper_plugin.custom_item.CustomItemManager;
import net.slqmy.template_paper_plugin.custom_multiblock.CustomMultiblockManager;
import net.slqmy.template_paper_plugin.data.player.PlayerDataManager;
import net.slqmy.template_paper_plugin.file.FileManager;
import net.slqmy.template_paper_plugin.http_server.HttpServerManager;
Expand All @@ -30,6 +31,7 @@ public final class TemplatePaperPlugin extends JavaPlugin {
private HttpServerManager httpServerManager;
private CustomItemManager customItemManager;
private CustomEntityManager customEntityManager;
private CustomMultiblockManager customMultiblockManager;

private final NamespacedKey customItemIdKey = new NamespacedKey(this, "custom_item_id");
private final NamespacedKey customEntityIdKey = new NamespacedKey(this, "custom_entity_id");
Expand Down Expand Up @@ -63,6 +65,10 @@ public CustomEntityManager getCustomEntityManager() {
return customEntityManager;
}

public CustomMultiblockManager getCustomMultiblockManager() {
return customMultiblockManager;
}

public NamespacedKey getCustomItemIdKey() {
return customItemIdKey;
}
Expand Down Expand Up @@ -92,6 +98,7 @@ public void onEnable() {
httpServerManager = new HttpServerManager(this);
customItemManager = new CustomItemManager(this);
customEntityManager = new CustomEntityManager(this);
customMultiblockManager = new CustomMultiblockManager(this);

new SetLanguageCommand(this);

Expand Down

0 comments on commit 1a75088

Please sign in to comment.