Fix P2 hook PlotPlayer.wrap

This commit is contained in:
Jesse Boyd 2019-11-14 19:21:05 +00:00
parent 54f62e689b
commit b38ff03ca6
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -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)) {