Skip to content

Commit

Permalink
Remove folder renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed May 3, 2023
1 parent c3d3880 commit c84096d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/main/java/de/oliver/fancynpcs/FancyNpcs.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ public class FancyNpcs extends JavaPlugin {
private final VersionFetcher versionFetcher;

public FancyNpcs() {
// TODO: remove in v1.1.5
// rename old plugin
File oldPluginFolder = new File("plugins/NpcPlugin/");
if(oldPluginFolder.exists() && oldPluginFolder.isDirectory()){
try {
oldPluginFolder.renameTo(new File("plugins/FancyNpcs/"));
} catch (Exception ignored){ }
}

instance = this;
this.npcManager = new NpcManager();
this.config = new FancyNpcConfig();
Expand Down

0 comments on commit c84096d

Please sign in to comment.