From f3784c771e11b1714ab9750c3721cf590f718031 Mon Sep 17 00:00:00 2001 From: CypherX Date: Thu, 21 Apr 2011 17:18:46 -0400 Subject: [PATCH] Updated for Minecraft 1.5 --- pom.xml | 2 +- src/main/java/com/cypherx/xauth/xAuth.java | 8 ++++---- src/main/resources/plugin.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 33c06b4..1cb9cd2 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.cypherx xauth - 1.2.2 + 1.2.3 xAuth UTF-8 diff --git a/src/main/java/com/cypherx/xauth/xAuth.java b/src/main/java/com/cypherx/xauth/xAuth.java index 89f8c91..7b1f48b 100644 --- a/src/main/java/com/cypherx/xauth/xAuth.java +++ b/src/main/java/com/cypherx/xauth/xAuth.java @@ -1,5 +1,5 @@ -//xAuth 1.2.2 -//Built against Bukkit #653, CraftBukkit #674, and Permissions v2.7 +//xAuth 1.2.3 +//Built against Bukkit #660, CraftBukkit #703, and Permissions v2.7 package com.cypherx.xauth; @@ -51,7 +51,7 @@ public class xAuth extends JavaPlugin public static Strings strings; public static PermissionHandler Permissions; - //autosave test code + //autosave stuff private static Boolean fullyEnabled; private ConcurrentHashMap auths = new ConcurrentHashMap(); @@ -68,7 +68,7 @@ public class xAuth extends JavaPlugin pdfFile = this.getDescription(); PropertyManager props = new PropertyManager(new File("server.properties")); - if (props.a("online-mode", true)) + if (props.getBoolean("online-mode", true)) { System.out.println("[" + pdfFile.getName() + "] Stopping - Server is running in online-mode"); this.setEnabled(false); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index e682d11..95db097 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: xAuth main: com.cypherx.xauth.xAuth -version: 1.2.2 +version: 1.2.3 description: Allows players to register and maintain an account while the server is in offline-mode. authors: - CypherX