Updated for Minecraft 1.5

This commit is contained in:
CypherX 2011-04-21 17:18:46 -04:00
parent e034534fee
commit f3784c771e
3 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.cypherx</groupId>
<artifactId>xauth</artifactId>
<version>1.2.2</version>
<version>1.2.3</version>
<name>xAuth</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -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<String, String> auths = new ConcurrentHashMap<String, String>();
@ -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);

View File

@ -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