geforkt von Mirrors/Paper
Seal-fail workaround
By: lukegb <github@lukegb.com>
Dieser Commit ist enthalten in:
Ursprung
69973b8617
Commit
5ac485db46
@ -139,6 +139,9 @@ public final class PluginDescriptionFile {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
main = map.get("main").toString();
|
main = map.get("main").toString();
|
||||||
|
if (main.startsWith("org.bukkit.")) {
|
||||||
|
throw new InvalidDescriptionException("main may not be within the org.bukkit namespace");
|
||||||
|
}
|
||||||
} catch (NullPointerException ex) {
|
} catch (NullPointerException ex) {
|
||||||
throw new InvalidDescriptionException(ex, "main is not defined");
|
throw new InvalidDescriptionException(ex, "main is not defined");
|
||||||
} catch (ClassCastException ex) {
|
} catch (ClassCastException ex) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren