This commit is contained in:
boy0001 2015-07-31 05:38:51 +10:00
parent 9dad492554
commit dd6e13dd94
2 changed files with 5 additions and 3 deletions

View File

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

View File

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