mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-12-02 13:23:21 +01:00
Update PapiExtension.java
This commit is contained in:
parent
4d4a157d58
commit
2a94ce099d
@ -85,8 +85,8 @@ public class PapiExtension extends PlaceholderExpansion {
|
||||
return config.getOwner().getName();
|
||||
} else {
|
||||
World world = ((Player) p).getWorld();
|
||||
if (WorldConfig.exists(world.getName()))
|
||||
return WorldConfig.getWorldConfig(world.getName()).getOwnerName();
|
||||
if (WorldConfig.exists(world.getName())
|
||||
return WorldConfig.getWorldConfig(world.getName().getOwnerName();
|
||||
return world.getName();
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user