More work on McMMOPlayer

This commit is contained in:
GJ
2012-07-06 11:57:17 -04:00
parent c460eec0ab
commit 5b8811bd09
15 changed files with 523 additions and 243 deletions

View File

@ -109,7 +109,7 @@ public class Fishing {
}
if (random.nextDouble() * randomChance <= treasure.getDropChance()) {
Users.getProfile(player).addXP(SkillType.FISHING, treasure.getXp());
Users.getPlayer(player).addXP(SkillType.FISHING, treasure.getXp());
theCatch.setItemStack(treasure.getDrop());
}
}