mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Fixed a few bugs getting sample plugin to load
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
0e4db04102
commit
f78b33d338
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue