Board Thread:General Mod Discussion/@comment-79.41.180.137-20170812234910/@comment-79.20.34.65-20170818190928

SamwiseFilmore wrote: I edited your post for formatting :P

I meant like this: System.out.println(new LOTRPlayerData(event.getPlayer.getUniqueId).getAlignment(LOTRFaction.MORDOR));

Still, that shouldn't matter. It is different in what it's doing in the underlying thing (just not assigning stackframes), but essentially the same thing and shouldn't change anything.

So  returns a reference to the player object who triggered the event, no? Do you know more in-depth what the role of a   object is? Knowing that might be useful. You're giving that a reference to that player. Does it then figure out how to find that playerdata and give you a bunch of methods on that?

LOTRPlayerData Class: https://pastebin.com/9arQtgbY

LOTRLevelData Class: https://pastebin.com/eBxXmj1U