1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-03-29 05:09:45 +01:00

Fix NPE for SpoutPlayers

This commit is contained in:
GJ 2013-02-26 19:36:14 -05:00
parent cbbe436a69
commit 4aaaf01ab5

@ -29,7 +29,7 @@ public class SpoutListener implements Listener {
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onSpoutCraftEnable(SpoutCraftEnableEvent event) {
SpoutPlayer spoutPlayer = event.getPlayer();
McMMOPlayer mcMMOPlayer = Users.getPlayer(spoutPlayer);
McMMOPlayer mcMMOPlayer = Users.getPlayer(event.getPlayer().getPlayer());
PlayerProfile profile = mcMMOPlayer.getProfile();
//TODO: Add custom titles based on skills