From 882a3db050641fb1566a70fd8d28192d1a430532 Mon Sep 17 00:00:00 2001 From: Shevchik Date: Sun, 23 Mar 2014 01:57:34 +0400 Subject: [PATCH] Rename method --- src/com/cnaude/chairs/core/Chairs.java | 2 +- src/com/cnaude/chairs/vehiclearrow/NMSAccess.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/cnaude/chairs/core/Chairs.java b/src/com/cnaude/chairs/core/Chairs.java index 8507c6f..9c8184a 100644 --- a/src/com/cnaude/chairs/core/Chairs.java +++ b/src/com/cnaude/chairs/core/Chairs.java @@ -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); diff --git a/src/com/cnaude/chairs/vehiclearrow/NMSAccess.java b/src/com/cnaude/chairs/vehiclearrow/NMSAccess.java index bdb9562..b8f6328 100644 --- a/src/com/cnaude/chairs/vehiclearrow/NMSAccess.java +++ b/src/com/cnaude/chairs/vehiclearrow/NMSAccess.java @@ -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);