mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Version is now 1.3.04-dev modified comments/changelog
This commit is contained in:
parent
752cc88270
commit
46cdfe992f
@ -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
|
||||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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()) {
|
||||||
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user