Version is now 1.3.04-dev modified comments/changelog

This commit is contained in:
nossr50 2012-03-23 12:34:23 -07:00
parent 752cc88270
commit 46cdfe992f
4 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,9 @@ Key:
! Change ! Change
- Removal - Removal
Version 1.3.04-dev
! Changed MySQL to reload all player information on reconnection
Version 1.3.03 Version 1.3.03
+ Added Ocelots to Taming XP tables + Added Ocelots to Taming XP tables
+ Added ability to summon Ocelots with Call of the Wild + Added ability to summon Ocelots with Call of the Wild

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId> <groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId> <artifactId>mcMMO</artifactId>
<version>1.3.03</version> <version>1.3.04-dev</version>
<name>mcMMO</name> <name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url> <url>https://github.com/mcMMO-Dev/mcMMO</url>
<issueManagement> <issueManagement>

View File

@ -256,9 +256,8 @@ public class Database {
if (!isConnected()) { if (!isConnected()) {
connect(); connect();
if(isConnected()) { if(isConnected()) {
//Save/Remove all profiles
for(PlayerProfile x : Users.players.values()) { for(PlayerProfile x : Users.players.values()) {
x.save(); x.save(); //Save all profiles
} }
Users.players.clear(); //Clear the profiles Users.players.clear(); //Clear the profiles
for(Player x : Bukkit.getOnlinePlayers()) { for(Player x : Bukkit.getOnlinePlayers()) {

View File

@ -16,7 +16,7 @@ public class RemoveProfileFromMemoryTask implements Runnable {
//Check if the profile still exists (stuff like MySQL reconnection removes profiles) //Check if the profile still exists (stuff like MySQL reconnection removes profiles)
if(Users.players.containsKey(player.getName().toLowerCase())) { if(Users.players.containsKey(player.getName().toLowerCase())) {
Users.getProfile(player.getName()).save(); //We save here so players don't quit/reconnect to cause lag Users.getProfile(player.getName()).save(); //We save here so players don't quit/reconnect to cause lag
Users.removeUserByName(player.getName()); Users.removeUserByName(player.getName());
} }
} }
} }