mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Fixed bug with non-Spout users trying to update the XP Bar.
This commit is contained in:
parent
3c9e38d7ad
commit
ef3802f7c2
@ -235,7 +235,7 @@ public class Skills {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Always update XP Bar (Check if no levels were gained first to remove redundancy) */
|
/* Always update XP Bar (Check if no levels were gained first to remove redundancy) */
|
||||||
if(skillups == 0 && player instanceof SpoutPlayer) {
|
if (skillups == 0 && LoadProperties.spoutEnabled && player instanceof SpoutPlayer) {
|
||||||
SpoutPlayer sPlayer = (SpoutPlayer) player;
|
SpoutPlayer sPlayer = (SpoutPlayer) player;
|
||||||
if (sPlayer.isSpoutCraftEnabled()) {
|
if (sPlayer.isSpoutCraftEnabled()) {
|
||||||
if (LoadProperties.xpbar) {
|
if (LoadProperties.xpbar) {
|
||||||
|
Loading…
Reference in New Issue
Block a user