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

Commit e249134

Browse files
committed
Recommending against an entire org is probably a bad idea
1 parent a73c168 commit e249134

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/main/java/org/yatopiamc/bot/timings/TimingsMessageListener.java

-10
Original file line numberDiff line numberDiff line change
@@ -200,16 +200,6 @@ private void checkPlugins(EmbedBuilder embedBuilder, JsonObject timingsMaster) {
200200
embedBuilder.addField("armor-stands-tick", "Disable this in [paper.yml](http://bit.ly/paperconf).", true);
201201
} catch (NullPointerException ignored) {
202202
}
203-
plugins.entrySet().stream().filter(entry -> {
204-
try {
205-
final JsonElement authors = entry.getValue().getAsJsonObject().get("authors");
206-
return authors.isJsonPrimitive() && authors.getAsJsonPrimitive().getAsString().contains("songoda") && !entry.getKey().equals("EpicHeads");
207-
} catch (NullPointerException ignored) {
208-
return false;
209-
}
210-
}).forEach(entry -> {
211-
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);
212-
});
213203
}
214204

215205
private void checkDataPacks(EmbedBuilder embedBuilder, JsonObject timingsMaster) {

src/main/java/org/yatopiamc/bot/timings/TimingsSuggestions.java

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public class TimingsSuggestions {
4848
suggestions.put("PermissionsEx", new PluginSuggestion("", "PermissionsEx is an outdated permission plugin. Consider replacing it with [LuckPerms](https://luckperms.net/download)."));
4949
suggestions.put("bPermissions", new PluginSuggestion("", "bPermissions is an outdated permission plugin. Consider replacing it with [LuckPerms](https://luckperms.net/download)."));
5050
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"));
51-
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/)."));
5251
return suggestions;
5352
}
5453
));

0 commit comments

Comments
 (0)