MarriageMaster integration
Created by: xXSchrandXx
Feature request Description:
This time it is not an Issue
I'm using MarriageMaster on my Server. It would be nice if you add a %isMarried% placeholder.
could be lite this:
PlaceHolderManager.registerPlaceholder(new PlaceHolder("%ismarried%", context -> isMarried((ProxiedPlayer) context.getSender().get()
private static String isMarried(ProxiedPlayer player){ final UUID partner = marry.DB.getPartnerUUID(player); if(partner != null){ return "§4❤"; } else { return ""; } }
Issue on my side (again) it doesn't work because it can't cast ProxiedPlayer in there. Would be nice if you can add this or write how to get the ProxiedPlayer somhow into this Code.