Skip to content

Commit

Permalink
Version 1.2.1
Browse files Browse the repository at this point in the history
Bugfix for retrieve methods on MC 1.7.5+
  • Loading branch information
KaiKikuchi committed Mar 19, 2015
1 parent da8a385 commit 8992a96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions src/main/java/net/kaikk/mc/uuidprovider/UUIDProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
public class UUIDProvider extends JavaPlugin {
public final EventListener eventListener = new EventListener();
static UUIDProvider instance;
static ConcurrentHashMap<String,PlayerData> cachedPlayersName;
static ConcurrentHashMap<UUID,PlayerData> cachedPlayersUUID;
static ConcurrentHashMap<String,PlayerData> cachedPlayersName = new ConcurrentHashMap<String,PlayerData>();
static ConcurrentHashMap<UUID,PlayerData> cachedPlayersUUID = new ConcurrentHashMap<UUID,PlayerData>();

static ArrayList<String> cachedNullPlayersName;
static ArrayList<UUID> cachedNullPlayersUUID;
static ArrayList<String> cachedNullPlayersName = new ArrayList<String>();
static ArrayList<UUID> cachedNullPlayersUUID = new ArrayList<UUID>();

static Method getUniqueId;
static Method getPlayerByUUID;
Expand All @@ -40,10 +40,6 @@ public void onEnable() {
} catch (Exception e) {
getUniqueId=null;
getPlayerByUUID=null;
cachedPlayersName = new ConcurrentHashMap<String,PlayerData>();
cachedPlayersUUID = new ConcurrentHashMap<UUID,PlayerData>();
cachedNullPlayersName = new ArrayList<String>();
cachedNullPlayersName = new ArrayList<String>();

try {
ds=new DataStore(this, config.dbUrl, config.dbUsername, config.dbPassword);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: UUIDProvider
main: net.kaikk.mc.uuidprovider.UUIDProvider
version: 1.2
version: 1.2.1
author: KaiNoMood

0 comments on commit 8992a96

Please sign in to comment.