mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix P2 hook PlotPlayer.wrap
This commit is contained in:
parent
54f62e689b
commit
b38ff03ca6
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user