BUmp version, add check for op

This commit is contained in:
Jesse Boyd 2016-04-03 17:26:17 +10:00
parent 0c55e3c7cb
commit 491b6bc646
7 changed files with 46 additions and 13 deletions

View File

@ -10,7 +10,7 @@ buildscript {
} }
group = 'com.boydti.fawe' group = 'com.boydti.fawe'
version = '3.3.5' version = '3.3.6'
description = """FastAsyncWorldEdit""" description = """FastAsyncWorldEdit"""
subprojects { subprojects {

View File

@ -1,6 +1,6 @@
name: FastAsyncWorldEdit name: FastAsyncWorldEdit
main: com.boydti.fawe.bukkit.FaweBukkit main: com.boydti.fawe.bukkit.FaweBukkit
version: 3.3.5 version: 3.3.6
description: Fast Async WorldEdit plugin description: Fast Async WorldEdit plugin
authors: [Empire92] authors: [Empire92]
loadbefore: [WorldEdit] loadbefore: [WorldEdit]

View File

@ -20,7 +20,7 @@ public class BukkitCommand implements CommandExecutor {
@Override @Override
public boolean onCommand(final CommandSender sender, final Command cmd, final String label, final String[] args) { public boolean onCommand(final CommandSender sender, final Command cmd, final String label, final String[] args) {
final FawePlayer plr = Fawe.imp().wrap(sender); final FawePlayer plr = Fawe.imp().wrap(sender);
if (!sender.hasPermission(this.cmd.getPerm())) { if (!sender.hasPermission(this.cmd.getPerm()) || sender.isOp()) {
BBC.NO_PERM.send(plr, this.cmd.getPerm()); BBC.NO_PERM.send(plr, this.cmd.getPerm());
return true; return true;
} }

View File

@ -1,6 +1,6 @@
name: FastAsyncWorldEdit name: FastAsyncWorldEdit
main: com.boydti.fawe.bukkit.FaweBukkit main: com.boydti.fawe.bukkit.FaweBukkit
version: 3.3.5 version: 3.3.6
description: Fast Async WorldEdit plugin description: Fast Async WorldEdit plugin
authors: [Empire92] authors: [Empire92]
loadbefore: [WorldEdit] loadbefore: [WorldEdit]

View File

@ -9,20 +9,39 @@
################################################# #################################################
Version string 'unspecified' does not match SemVer specification Version string 'unspecified' does not match SemVer specification
You should try SemVer : http://semver.org/ You should try SemVer : http://semver.org/
Cookie rejected [JSESSIONID="26E6D52C45F2EEB46889F1A779E2FC24", version:0, domain:maven.sk89q.com, path:/artifactory/, expiry:null] Illegal 'path' attribute "/artifactory/". Path of origin: "/repo/org/spongepowered/spongeapi/"
Download http://repo.spongepowered.org/maven/org/spongepowered/spongeapi/4.1.0-SNAPSHOT/spongeapi-4.1.0-20160402.223304-15.jar
:core:compileJava :core:compileJava
:bukkit:processResources
:forge:deobfCompileDummyTask :forge:deobfCompileDummyTask
:forge:deobfProvidedDummyTask :forge:deobfProvidedDummyTask
:forge:extractDependencyATs SKIPPED :forge:extractDependencyATs SKIPPED
:forge:extractMcpData :forge:extractMcpData
:core:compileJava UP-TO-DATE :bukkit:processTestResources UP-TO-DATE
:core:processResources UP-TO-DATE warning: [options] bootstrap class path not set in conjunction with -source 1.7
:core:classes UP-TO-DATE
:core:jar UP-TO-DATE
:forge:extractMcpData SKIPPED :forge:extractMcpData SKIPPED
:forge:extractMcpMappings SKIPPED :forge:extractMcpMappings SKIPPED
:forge:genSrgs SKIPPED :forge:genSrgs SKIPPED
:forge:getVersionJson :forge:getVersionJson
:forge:downloadServer SKIPPED :forge:downloadServer SKIPPED
:forge:splitServerJarNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
:core:processResources UP-TO-DATE
:core:classes
:core:jar
:bukkit:compileJava
:core:assemble
:core:compileTestJava UP-TO-DATE
:core:processTestResources UP-TO-DATE
:core:testClasses UP-TO-DATE
:core:test UP-TO-DATE
:core:check UP-TO-DATE
:core:build
warning: [options] bootstrap class path not set in conjunction with -source 1.7
:forge:splitServerJar SKIPPED :forge:splitServerJar SKIPPED
:forge:deobfMcMCP SKIPPED :forge:deobfMcMCP SKIPPED
:forge:sourceApiJava UP-TO-DATE :forge:sourceApiJava UP-TO-DATE
@ -30,7 +49,22 @@ You should try SemVer : http://semver.org/
:forge:processApiResources UP-TO-DATE :forge:processApiResources UP-TO-DATE
:forge:apiClasses UP-TO-DATE :forge:apiClasses UP-TO-DATE
:forge:sourceMainJava :forge:sourceMainJava
:forge:compileJavaC:\Users\Jesse\.gradle\caches\modules-2\files-2.1\com.sk89q.worldedit\worldedit-forge-mc1.8.9\6.1.1\dffd7e1882eba256eb2132fe315682c1d26522b1\worldedit-forge-mc1.8.9-6.1.1.jar(com/sk89q/worldedit/forge/ForgeWorldEdit.class): warning: Cannot find annotation method 'modid()' in type 'Mod': class file for net.minecraftforge.fml.common.Mod not found :forge:compileJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
:bukkit:classes
:bukkit:jar SKIPPED
:bukkit:assemble UP-TO-DATE
:bukkit:compileTestJava UP-TO-DATE
:bukkit:testClasses UP-TO-DATE
:bukkit:test UP-TO-DATE
:bukkit:check UP-TO-DATE
:bukkit:shadowJar
:bukkit:build
C:\Users\Jesse\.gradle\caches\modules-2\files-2.1\com.sk89q.worldedit\worldedit-forge-mc1.8.9\6.1.1\dffd7e1882eba256eb2132fe315682c1d26522b1\worldedit-forge-mc1.8.9-6.1.1.jar(com/sk89q/worldedit/forge/ForgeWorldEdit.class): warning: Cannot find annotation method 'modid()' in type 'Mod': class file for net.minecraftforge.fml.common.Mod not found
C:\Users\Jesse\.gradle\caches\modules-2\files-2.1\com.sk89q.worldedit\worldedit-forge-mc1.8.9\6.1.1\dffd7e1882eba256eb2132fe315682c1d26522b1\worldedit-forge-mc1.8.9-6.1.1.jar(com/sk89q/worldedit/forge/ForgeWorldEdit.class): warning: Cannot find annotation method 'name()' in type 'Mod' C:\Users\Jesse\.gradle\caches\modules-2\files-2.1\com.sk89q.worldedit\worldedit-forge-mc1.8.9\6.1.1\dffd7e1882eba256eb2132fe315682c1d26522b1\worldedit-forge-mc1.8.9-6.1.1.jar(com/sk89q/worldedit/forge/ForgeWorldEdit.class): warning: Cannot find annotation method 'name()' in type 'Mod'
C:\Users\Jesse\.gradle\caches\modules-2\files-2.1\com.sk89q.worldedit\worldedit-forge-mc1.8.9\6.1.1\dffd7e1882eba256eb2132fe315682c1d26522b1\worldedit-forge-mc1.8.9-6.1.1.jar(com/sk89q/worldedit/forge/ForgeWorldEdit.class): warning: Cannot find annotation method 'version()' in type 'Mod' C:\Users\Jesse\.gradle\caches\modules-2\files-2.1\com.sk89q.worldedit\worldedit-forge-mc1.8.9\6.1.1\dffd7e1882eba256eb2132fe315682c1d26522b1\worldedit-forge-mc1.8.9-6.1.1.jar(com/sk89q/worldedit/forge/ForgeWorldEdit.class): warning: Cannot find annotation method 'version()' in type 'Mod'
C:\Users\Jesse\.gradle\caches\modules-2\files-2.1\com.sk89q.worldedit\worldedit-forge-mc1.8.9\6.1.1\dffd7e1882eba256eb2132fe315682c1d26522b1\worldedit-forge-mc1.8.9-6.1.1.jar(com/sk89q/worldedit/forge/ForgeWorldEdit.class): warning: Cannot find annotation method 'acceptableRemoteVersions()' in type 'Mod' C:\Users\Jesse\.gradle\caches\modules-2\files-2.1\com.sk89q.worldedit\worldedit-forge-mc1.8.9\6.1.1\dffd7e1882eba256eb2132fe315682c1d26522b1\worldedit-forge-mc1.8.9-6.1.1.jar(com/sk89q/worldedit/forge/ForgeWorldEdit.class): warning: Cannot find annotation method 'acceptableRemoteVersions()' in type 'Mod'
@ -63,7 +97,6 @@ Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations. Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details. Note: Recompile with -Xlint:unchecked for details.
27 warnings 27 warnings
:forge:processResources UP-TO-DATE :forge:processResources UP-TO-DATE
:forge:classes :forge:classes
:forge:jar :forge:jar
@ -86,4 +119,4 @@ remapping source...
BUILD SUCCESSFUL BUILD SUCCESSFUL
Total time: 41.27 secs Total time: 1 mins 21.422 secs

View File

@ -13,7 +13,7 @@ import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.plugin.PluginContainer; import org.spongepowered.api.plugin.PluginContainer;
import org.spongepowered.api.profile.GameProfileManager; import org.spongepowered.api.profile.GameProfileManager;
@Plugin(id = "com.boydti.fawe", name = "FastAsyncWorldEdit", description = "Lagless WorldEdit, Area restrictions, Memory mangement, Block logging", url = "https://github.com/boy0001/FastAsyncWorldedit", version = "3.3.5") @Plugin(id = "com.boydti.fawe", name = "FastAsyncWorldEdit", description = "Lagless WorldEdit, Area restrictions, Memory mangement, Block logging", url = "https://github.com/boy0001/FastAsyncWorldedit", version = "3.3.6")
public class SpongeMain { public class SpongeMain {
public PluginContainer plugin; public PluginContainer plugin;

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>FastAsyncWorldEdit</artifactId> <artifactId>FastAsyncWorldEdit</artifactId>
<version>3.3.5</version> <version>3.3.6</version>
<name>FastAsyncWorldEdit</name> <name>FastAsyncWorldEdit</name>
<packaging>jar</packaging> <packaging>jar</packaging>
<build> <build>