Skip to content

Commit dc348fc

Browse files
committed
Don't use new PluginPlatform.Multi(...)
1 parent 8c576a0 commit dc348fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/srnyx/name/Name.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
public class Name extends AnnoyingPlugin {
88
public Name() {
99
options
10-
.pluginOptions(pluginOptions -> pluginOptions.updatePlatforms(new PluginPlatform.Multi(
10+
.pluginOptions(pluginOptions -> pluginOptions.updatePlatforms(
1111
PluginPlatform.modrinth("ID"), // Replace ID with the Modrinth ID
1212
PluginPlatform.hangar(this),
13-
PluginPlatform.spigot("######")))) // Replace ###### with the Spigot resource ID
13+
PluginPlatform.spigot("######"))) // Replace ###### with the Spigot resource ID
1414
.bStatsOptions(bStatsOptions -> bStatsOptions.id(10000)) // Replace 10000 with the bStats ID
1515
.dataOptions(dataOptions -> dataOptions
1616
.enabled(true) // Set to false if you don't want to use data (you can just remove all data options if false)

0 commit comments

Comments
 (0)