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
2a94ce099d
commit
a7cf9c575f
@ -85,8 +85,8 @@ public class PapiExtension extends PlaceholderExpansion {
|
|||||||
return config.getOwner().getName();
|
return config.getOwner().getName();
|
||||||
} else {
|
} else {
|
||||||
World world = ((Player) p).getWorld();
|
World world = ((Player) p).getWorld();
|
||||||
if (WorldConfig.exists(world.getName())
|
if (WorldConfig.exists(world.getName()))
|
||||||
return WorldConfig.getWorldConfig(world.getName().getOwnerName();
|
return WorldConfig.getWorldConfig(world.getName()).getOwnerName();
|
||||||
return world.getName();
|
return world.getName();
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user