mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-08-24 23:03:01 +02: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>
|
||||
</properties>
|
||||
<artifactId>PlotSquared</artifactId>
|
||||
<version>2.12.19</version>
|
||||
<version>3.0.1</version>
|
||||
<name>PlotSquared</name>
|
||||
<packaging>jar</packaging>
|
||||
<build>
|
||||
|
|
|
@ -749,8 +749,10 @@ public class PlayerEvents extends com.plotsquared.listener.PlotListener implemen
|
|||
WEManager.bypass.add(pp.getName());
|
||||
}
|
||||
}
|
||||
((BukkitPlayer) player).hasPerm = new HashSet<>();
|
||||
((BukkitPlayer) player).noPerm = new HashSet<>();
|
||||
if (Settings.PERMISSION_CACHING) {
|
||||
((BukkitPlayer) pp).hasPerm = new HashSet<>();
|
||||
((BukkitPlayer) pp).noPerm = new HashSet<>();
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
||||
|
|
Loading…
Reference in New Issue
Block a user