Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Commit

Permalink
Recommending against an entire org is probably a bad idea
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Feb 15, 2021
1 parent a73c168 commit e249134
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,6 @@ private void checkPlugins(EmbedBuilder embedBuilder, JsonObject timingsMaster) {
embedBuilder.addField("armor-stands-tick", "Disable this in [paper.yml](http://bit.ly/paperconf).", true);
} catch (NullPointerException ignored) {
}
plugins.entrySet().stream().filter(entry -> {
try {
final JsonElement authors = entry.getValue().getAsJsonObject().get("authors");
return authors.isJsonPrimitive() && authors.getAsJsonPrimitive().getAsString().contains("songoda") && !entry.getKey().equals("EpicHeads");
} catch (NullPointerException ignored) {
return false;
}
}).forEach(entry -> {
embedBuilder.addField(entry.getKey(), "This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative.", true);
});
}

private void checkDataPacks(EmbedBuilder embedBuilder, JsonObject timingsMaster) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public class TimingsSuggestions {
suggestions.put("PermissionsEx", new PluginSuggestion("", "PermissionsEx is an outdated permission plugin. Consider replacing it with [LuckPerms](https://luckperms.net/download)."));
suggestions.put("bPermissions", new PluginSuggestion("", "bPermissions is an outdated permission plugin. Consider replacing it with [LuckPerms](https://luckperms.net/download)."));
suggestions.put("PhantomSMP", new PluginSuggestion("", "You probably don't need PhantomSMP as Paper already has its features. See phantoms-only-attack-insomniacs in paper.yml"));
suggestions.put("EpicHeads", new PluginSuggestion("", "This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative such as [HeadsPlus](https://spigotmc.org/resources/headsplus-»-1-8-1-16-4.40265/) or [HeadDatabase](https://www.spigotmc.org/resources/head-database.14280/)."));
return suggestions;
}
));
Expand Down

0 comments on commit e249134

Please sign in to comment.