How do we register our custom entities only in specific worlds?
I just dived into the GhostFactory class and made it slightly better... http://pastebin.com/98zkSqF8 :)
I'm using an NBT library (http://bukkit.org/threads/library-edit-or-create-nbt-tags-with-a-compact-class-no-obc-nms.178464/) to...
@nverdier @CorrieKay @Konato_K Actually, one more problem.
When putting data into an NbtCompound, it never actually appears to have an effect on...
@CorrieKay Fixed it, thanks!
@Konato_K That's what I'm doing...and I get that error.
@Konato_K Sorry, I'm really new to this. So how would I get the SkullOwner from an NbtCompound?
@Konato_K Yes, that is what an NBT Tag is. :)
It's the SkullOwner tag... @teej107
Code: http://pastebin.com/n2bt4VsR (I commented on the error line).
@teej107 I still get that exact error. :/
@teej107 So how can I fix this? How can I use NBT to get the skull owner?
@teej107 But that's not casting it... In the NbtCompound class, there is a method called getPath which returns any Object... Why would that return...
@teej107 I'm not casting it to a String though... :/ I'm using the method getPath().....
@teej107 On the first pastebin in OP, I wrote a comment ("error on this line").
Separate names with a comma.