Skip to content

Commit

Permalink
Remove unused fields and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Oct 30, 2024
1 parent 4c40775 commit 6084bfa
Showing 1 changed file with 2 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import foundation.esoteric.minecraft.plugins.library.item.CustomItemPlugin;
import foundation.esoteric.minecraft.plugins.library.resourcepack.ResourcePackManager;
import foundation.esoteric.minecraft.plugins.library.resourcepack.ResourcePackPlugin;
import org.bukkit.NamespacedKey;
import org.bukkit.plugin.java.JavaPlugin;
import foundation.esoteric.minecraft.plugins.template.commands.PlaceCustomMultiblockCommand;
import foundation.esoteric.minecraft.plugins.template.commands.SetLanguageCommand;
Expand All @@ -27,14 +26,9 @@ public final class PaperTemplatePlugin extends JavaPlugin implements FileManaged
private PlayerDataManager playerDataManager;
private LanguageManager languageManager;
private ResourcePackManager resourcePackManager;
private HttpServerManager httpServerManager;
private CustomItemManager customItemManager;
private CustomEntityManager customMultientityManager;
private CustomMultiblockManager customMultiblockManager;

private final NamespacedKey customItemIdKey = new NamespacedKey(this, "custom_item_id");
private final NamespacedKey customEntityIdKey = new NamespacedKey(this, "custom_entity_id");

public FileManager getFileManager() {
return fileManager;
}
Expand All @@ -51,30 +45,14 @@ public ResourcePackManager getResourcePackManager() {
return resourcePackManager;
}

public HttpServerManager getHttpServerManager() {
return httpServerManager;
}

public CustomItemManager getCustomItemManager() {
return customItemManager;
}

public CustomEntityManager getCustomMultientityManager() {
return customMultientityManager;
}

public CustomMultiblockManager getCustomMultiblockManager() {
return customMultiblockManager;
}

public NamespacedKey getCustomItemIdKey() {
return customItemIdKey;
}

public NamespacedKey getCustomEntityIdKey() {
return customEntityIdKey;
}

@Override
public void onEnable() {
getDataFolder().mkdir();
Expand All @@ -92,9 +70,9 @@ public void onEnable() {
}

resourcePackManager = new ResourcePackManager(this);
httpServerManager = new HttpServerManager(this);
new HttpServerManager(this);
customItemManager = new CustomItemManager(this);
customMultientityManager = new CustomEntityManager(this);
new CustomEntityManager(this);
if (CustomMultiblock.isEnabled()) {
customMultiblockManager = new CustomMultiblockManager(this);
}
Expand Down

0 comments on commit 6084bfa

Please sign in to comment.