Rename and clean up MapleMarriage

This commit is contained in:
P0nk
2021-09-09 22:46:32 +02:00
parent 9c8abf6f62
commit e31894caae
6 changed files with 26 additions and 27 deletions
+3 -3
View File
@@ -4759,11 +4759,11 @@ public class Character extends AbstractCharacterObject {
}
}
public MapleMarriage getMarriageInstance() {
public Marriage getMarriageInstance() {
EventInstanceManager eim = getEventInstance();
if (eim != null || !(eim instanceof MapleMarriage)) {
return (MapleMarriage) eim;
if (eim != null || !(eim instanceof Marriage)) {
return (Marriage) eim;
} else {
return null;
}