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

View File

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