Kaynağa Gözat

Making mctop update for MySQL when mmoedit is used

nossr50 13 yıl önce
ebeveyn
işleme
95c15df184

+ 1 - 0
Changelog.txt

@@ -14,6 +14,7 @@ Version 2.0.00-dev
  + Added bookshelves to list of blocks that don't trigger abilities.
  = Fixed ClassCastException from Taming preventDamage checks
  = Fixed issue with Blast Mining not seeing TNT for detonation due to snow
+ ! Changed mmoedit to save a profile when used (this will make mctop update)
  ! Changed Call of the Wild to activate on left-click rather than right-click
  ! Changed Blast Mining to track based on Entity ID vs. Location
 

+ 1 - 0
src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java

@@ -1103,6 +1103,7 @@ public class PlayerProfile
 			skills.put(skillType, newvalue);
 			skillsXp.put(skillType, 0);
 		}
+		save(); //This will make mctop update for MySQL
 	}
 	
 	public void addLevels(SkillType skillType, int levels)