Skip to content

Commit

Permalink
fix: bungee start up
Browse files Browse the repository at this point in the history
  • Loading branch information
confuser committed Mar 5, 2022
1 parent 4330201 commit e16efbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bungee/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tasks.named<Copy>("processResources") {
inputs.property("internalVersion", internalVersion)

filesMatching("plugin.yml") {
expand("internalVersion" to internalVersion, "mainPath" to "me.confuser.banmanager.bukkit.BMBungeePlugin")
expand("internalVersion" to internalVersion, "mainPath" to "me.confuser.banmanager.bungee.BMBungeePlugin")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private PluginInfo setupConfigs() throws IOException {

// Load plugin.yml
PluginInfo pluginInfo = new PluginInfo();
Reader defConfigStream = new InputStreamReader(getResourceAsStream("src/main/resources/plugin.yml"), "UTF8");
Reader defConfigStream = new InputStreamReader(getResourceAsStream("plugin.yml"), "UTF8");
YamlConfiguration conf = YamlConfiguration.loadConfiguration(defConfigStream);
ConfigurationSection commands = conf.getConfigurationSection("commands");

Expand Down

0 comments on commit e16efbd

Please sign in to comment.