Change jarfile property in Plugin to file
This commit is contained in:
parent
18a5534499
commit
7338e20e98
@ -18,8 +18,8 @@ public class Plugin
|
|||||||
@Getter
|
@Getter
|
||||||
private ProxyServer proxy;
|
private ProxyServer proxy;
|
||||||
@Getter
|
@Getter
|
||||||
private File jarfile;
|
private File file;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the plugin has just been loaded. Most of the proxy will not
|
* Called when the plugin has just been loaded. Most of the proxy will not
|
||||||
* be initialized, so only use it for registering
|
* be initialized, so only use it for registering
|
||||||
@ -73,10 +73,10 @@ public class Plugin
|
|||||||
* @param description the description that describes this plugin
|
* @param description the description that describes this plugin
|
||||||
* @param jarfile this plugins jar or container
|
* @param jarfile this plugins jar or container
|
||||||
*/
|
*/
|
||||||
final void init(ProxyServer proxy, PluginDescription description, File jarfile)
|
final void init(ProxyServer proxy, PluginDescription description, File file)
|
||||||
{
|
{
|
||||||
this.proxy = proxy;
|
this.proxy = proxy;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
this.jarfile = jarfile;
|
this.file = file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user