Multiverse-Core

Multiverse-Core

6M Downloads

Sometime MV shows empty alias instead of worldname for newly created worlds

benwoo1110 opened this issue ยท 1 comments

commented

image

https://paste.gg/35c55eae656c4d6b83599445b77329e9

If anyone can provide steps to reproduce, that will be great!

commented

Looks like setAlias isn't working...

Code:

        Logging.info("'" + props.getAlias() + "'");
        if (props.getAlias().length() == 0) {
            Logging.info("No alias");
            props.setAlias(this.getName());
            Logging.info("'" + this.getName() + "'");
            Logging.info("'" + props.getAlias() + "'");
        }

Logs:

[21:02:15 INFO]: [Multiverse-Core] ''
[21:02:15 INFO]: [Multiverse-Core] No alias
[21:02:15 INFO]: [Multiverse-Core] 'aaa'
[21:02:15 INFO]: [Multiverse-Core] ''