Rename method
This commit is contained in:
parent
3254fd5cd0
commit
882a3db050
@ -61,7 +61,7 @@ public class Chairs extends JavaPlugin {
|
||||
public void onEnable() {
|
||||
log = this.getLogger();
|
||||
try {
|
||||
nmsaccess.setupVehicleArrow();
|
||||
nmsaccess.setupChairsArrow();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
getServer().getPluginManager().disablePlugin(this);
|
||||
|
@ -12,7 +12,7 @@ public class NMSAccess {
|
||||
|
||||
private Class<?> nmsArrowClass;
|
||||
|
||||
public void setupVehicleArrow() throws NMSAccessException, ClassNotFoundException {
|
||||
public void setupChairsArrow() throws NMSAccessException, ClassNotFoundException {
|
||||
String pkgname = getClass().getPackage().getName();
|
||||
String packageName = Bukkit.getServer().getClass().getPackage().getName();
|
||||
String nmspackageversion = packageName.substring(packageName.lastIndexOf('.') + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user