XP flytxt no longer shows if performing/stationary

This commit is contained in:
Treeku
2014-04-03 12:46:46 +01:00
parent e6d21a8620
commit 6bcb299913
+1 -1
View File
@@ -826,7 +826,7 @@ public class PlayerService implements INetworkDispatch {
experience += ((experience * experienceBonus) / 100);
// 1. Add the experience.
if (experience > 0) {
if (experience > 0 && !creature.isStationary()) {
creature.showFlyText("base_player", "prose_flytext_xp", "", experience, (float) 2.5, new RGB(180, 60, 240), 1);
}