mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
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:
parent
3c5f88c0be
commit
61c3fe2805
2 changed files with 7 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -97,3 +97,4 @@ hs_err_pid*
|
|||
.project
|
||||
/target
|
||||
/plotsquared/target
|
||||
*.MF
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue