Fixed plot owner UUIDs getting unnecessarily randomized. (#2233)

This commit is contained in:
Logan Fick 2019-01-12 12:48:53 -05:00 committed by dordsor21
parent 15ea0f3210
commit 8ba661aa35

View File

@ -116,10 +116,10 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
PlotSquared.log( PlotSquared.log(
"&cCould not identify owner for plot: " + id + " -> '" + name + "'"); "&cCould not identify owner for plot: " + id + " -> '" + name + "'");
missing++; missing++;
continue;
}
owner = UUID.nameUUIDFromBytes( owner = UUID.nameUUIDFromBytes(
("OfflinePlayer:" + name.toLowerCase()).getBytes(Charsets.UTF_8)); ("OfflinePlayer:" + name.toLowerCase()).getBytes(Charsets.UTF_8));
continue;
}
} }
} else { } else {
UUIDHandler.add(new StringWrapper(name), owner); UUIDHandler.add(new StringWrapper(name), owner);