kekekeke forgot static in WGBukkit's methods.

This commit is contained in:
sk89q 2012-11-05 12:22:04 -08:00
parent 7a3774e730
commit 4da1741578

View File

@ -42,7 +42,7 @@ private WGBukkit() {
*
* @return the WorldGuard plugin or null
*/
public WorldGuardPlugin getPlugin() {
public static WorldGuardPlugin getPlugin() {
return (WorldGuardPlugin) Bukkit.getServer().getPluginManager().getPlugin("WorldGuard");
}
@ -53,7 +53,7 @@ public WorldGuardPlugin getPlugin() {
* @param world world
* @return a region manager or null
*/
public RegionManager getRegionManager(World world) {
public static RegionManager getRegionManager(World world) {
WorldGuardPlugin plugin = getPlugin();
if (plugin == null) {
return null;