mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Fixed trying to cast player to SpoutPlayer - need to use
SpoutManager.getPlayer(player) instead.
This commit is contained in:
parent
8f17ec96f0
commit
a42a1f4a9f
@ -265,7 +265,7 @@ public class SkillTools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mcMMO.spoutEnabled) {
|
if (mcMMO.spoutEnabled) {
|
||||||
SpoutPlayer spoutPlayer = (SpoutPlayer) player;
|
SpoutPlayer spoutPlayer = SpoutManager.getPlayer(player);
|
||||||
|
|
||||||
if (spoutPlayer != null && spoutPlayer.isSpoutCraftEnabled()) {
|
if (spoutPlayer != null && spoutPlayer.isSpoutCraftEnabled()) {
|
||||||
if (SpoutConfig.getInstance().getXPBarEnabled()) {
|
if (SpoutConfig.getInstance().getXPBarEnabled()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user