Fix P2 hook PlotPlayer.wrap

Dieser Commit ist enthalten in:
Jesse Boyd 2019-11-14 19:21:05 +00:00
Ursprung 54f62e689b
Commit b38ff03ca6
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -102,7 +102,7 @@ public class PlotSquaredFeature extends FaweMaskManager {
@Override
public FaweMask getMask(Player player, MaskType type) {
final PlotPlayer pp = PlotPlayer.wrap(player);
final PlotPlayer pp = PlotPlayer.wrap(player.getUniqueId());
final Set<CuboidRegion> regions;
Plot plot = pp.getCurrentPlot();
if (isAllowed(player, plot, type)) {