What you've done is more dangerous

With the setOp thing, it's all on the main thread and the op is taken
away immediately afterwards so there is no possibility of them using the
elevated permission for anything other than worldguard. I even had a
finally clause.

What you have done, although it may not seem too dangerous, it still
gives players the opportunity to use their elevated permissions.
This commit is contained in:
boy0001 2014-11-04 12:22:09 +11:00
parent 3c5f88c0be
commit 61c3fe2805
2 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -97,3 +97,4 @@ hs_err_pid*
.project
/target
/plotsquared/target
*.MF

View File

@ -54,16 +54,16 @@
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.7.9-R0.2</version>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.7.10-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.sk89q</groupId>
<artifactId>worldedit</artifactId>