Track Metropolis home ownership by UUID

This commit is contained in:
2026-09-26 22:46:12 -07:00
parent 509df1b452
commit 81b34862b4
6 changed files with 151 additions and 79 deletions

View File

@@ -23,7 +23,7 @@ public class MetropolisHomeAcquire implements CommandExecutor {
Player player = (Player) sender;
if(_plugin.getNumPlots(player.getName()) >= _plugin.getMaxPlots(player.getName())){
if(_plugin.getNumPlots(player.getUniqueId()) >= _plugin.getMaxPlots(player.getUniqueId())){
sender.sendMessage("You cannot have any more plots");
return false;
}