Revert "Default tag to their rank's tag"

This reverts commit 37f7c97637.
This commit is contained in:
business-goose 2022-03-21 20:11:30 +00:00
parent 37f7c97637
commit c9d4caffed

View file

@ -1,15 +1,12 @@
package me.StevenLawson.TotalFreedomMod.config;
import me.StevenLawson.TotalFreedomMod.TotalFreedomMod;
import me.StevenLawson.TotalFreedomMod.player.PlayerRank;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
import java.io.File;
import java.io.IOException;
import java.util.UUID;
public class TagConfiguration {
private static Plugin plugin = JavaPlugin.getPlugin(TotalFreedomMod.class);
@ -38,7 +35,7 @@ public class TagConfiguration {
} catch (IOException e){
e.printStackTrace();
}
return PlayerRank.fromSender(Bukkit.getPlayer(UUID.fromString(playerUuid))).getPrefix();
return "";
}
} else return null;
}