mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Fixes #472
This commit is contained in:
parent
9dad492554
commit
dd6e13dd94
2
pom.xml
2
pom.xml
@ -8,7 +8,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
<artifactId>PlotSquared</artifactId>
|
<artifactId>PlotSquared</artifactId>
|
||||||
<version>2.12.19</version>
|
<version>3.0.1</version>
|
||||||
<name>PlotSquared</name>
|
<name>PlotSquared</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<build>
|
<build>
|
||||||
|
@ -749,8 +749,10 @@ public class PlayerEvents extends com.plotsquared.listener.PlotListener implemen
|
|||||||
WEManager.bypass.add(pp.getName());
|
WEManager.bypass.add(pp.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
((BukkitPlayer) player).hasPerm = new HashSet<>();
|
if (Settings.PERMISSION_CACHING) {
|
||||||
((BukkitPlayer) player).noPerm = new HashSet<>();
|
((BukkitPlayer) pp).hasPerm = new HashSet<>();
|
||||||
|
((BukkitPlayer) pp).noPerm = new HashSet<>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
||||||
|
Loading…
Reference in New Issue
Block a user