3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00

Fixed an NullPointerException with PlotSquared

Dieser Commit ist enthalten in:
MattBDev 2020-03-05 18:05:33 -05:00
Ursprung c1fe16b0e9
Commit e32e17b15c

Datei anzeigen

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