Fixed a few bugs getting sample plugin to load
Dieser Commit ist enthalten in:
Ursprung
8274655360
Commit
c8b9f833d9
@ -30,7 +30,7 @@ public final class CraftServer implements Server {
|
|||||||
pluginManager.RegisterInterface(JavaPluginLoader.class);
|
pluginManager.RegisterInterface(JavaPluginLoader.class);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
pluginManager.loadPlugin(new File("sample.jar"));
|
pluginManager.loadPlugin(new File("SamplePlugin.jar"));
|
||||||
} catch (InvalidPluginException ex) {
|
} catch (InvalidPluginException ex) {
|
||||||
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, null, ex);
|
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, null, ex);
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren