tiguz Posted December 16, 2017 Share Posted December 16, 2017 (edited) Hello! I added to my pack a multiservice NPC: It allows to player to change his baseclass w.o cheking if he already have that class as a subclass, so this happens: https://imgur.com/a/iYzQw How can I fix it? Edited December 17, 2017 by tiguz Quote Link to comment Share on other sites More sharing options...
0 tiguz Posted December 17, 2017 Author Share Posted December 17, 2017 I tried something like this: else if (newClass.equals(player.getBaseClass())) { player.sendMessage("You already have that Baseclass! Choose a new one."); return false; } else if (newClass.equals(player.getSubClasses().values())) { player.sendMessage("Delete your Subclass first!"); return false; But this is not working. Any help? Quote Link to comment Share on other sites More sharing options...
Question
tiguz
Hello!
I added to my pack a multiservice NPC:
It allows to player to change his baseclass w.o cheking if he already have that class as a subclass, so this happens:
https://imgur.com/a/iYzQw
Edited by tiguzHow can I fix it?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.