mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Fix hasOwnData to return a correct result with new mirroring system
This commit is contained in:
parent
5f19cbf17b
commit
a13740f638
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ public class WorldsHolder {
|
|||
* @return true if it has its own holder. false if not.
|
||||
*/
|
||||
public boolean hasOwnData(String worldName) {
|
||||
if (worldsData.containsKey(worldName.toLowerCase())) {
|
||||
if (worldsData.containsKey(worldName.toLowerCase()) && (!mirrorsGroup.containsKey(worldName.toLowerCase()) || !mirrorsUser.containsKey(worldName.toLowerCase()))) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue