mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-11-29 12:55:11 +01:00
Fixes #39
This commit is contained in:
parent
a32e6c51d0
commit
ace7cac49f
@ -55,7 +55,6 @@ public class WorldAdministrateCommand {
|
|||||||
if (event.isCancelled())
|
if (event.isCancelled())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wc.removeMember(a.getUniqueId());
|
|
||||||
if (a.isOnline()) {
|
if (a.isOnline()) {
|
||||||
Player t = (Player) a;
|
Player t = (Player) a;
|
||||||
if (t.getWorld().getName().equals(new DependenceConfig(p).getWorldname())) {
|
if (t.getWorld().getName().equals(new DependenceConfig(p).getWorldname())) {
|
||||||
@ -63,6 +62,8 @@ public class WorldAdministrateCommand {
|
|||||||
t.setGameMode(PluginConfig.getSpawnGamemode());
|
t.setGameMode(PluginConfig.getSpawnGamemode());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wc.removeMember(a.getUniqueId());
|
||||||
try {
|
try {
|
||||||
wc.save();
|
wc.save();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="de.butzlabben.world.wrapper.GeneratorSettingsTest" time="0.081" tests="1" errors="0" skipped="0" failures="0">
|
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="de.butzlabben.world.wrapper.GeneratorSettingsTest" time="0.032" tests="1" errors="0" skipped="0" failures="0">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="sun.desktop" value="windows"/>
|
<property name="sun.desktop" value="windows"/>
|
||||||
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
|
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<property name="user.country" value="DE"/>
|
<property name="user.country" value="DE"/>
|
||||||
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_201\jre\bin"/>
|
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_201\jre\bin"/>
|
||||||
<property name="sun.java.command" value="C:\Users\Daniel\AppData\Local\Temp\surefire4842291927356751410\surefirebooter1961109782025746048.jar C:\Users\Daniel\AppData\Local\Temp\surefire4842291927356751410 2019-10-04T14-25-31_750-jvmRun1 surefire5547760009693727186tmp surefire_02465458387862569454tmp"/>
|
<property name="sun.java.command" value="C:\Users\Daniel\AppData\Local\Temp\surefire1746139620374791820\surefirebooter5574425989320255874.jar C:\Users\Daniel\AppData\Local\Temp\surefire1746139620374791820 2019-10-04T14-44-49_482-jvmRun1 surefire9138101703249410402tmp surefire_06054070109393338562tmp"/>
|
||||||
<property name="surefire.test.class.path" value="C:\Users\Daniel\IdeaProjects\PersonalProjects\worldsystem\target\test-classes;C:\Users\Daniel\IdeaProjects\PersonalProjects\worldsystem\target\classes;C:\Users\Daniel\.m2\repository\org\spigotmc\spigot-api\1.14-R0.1-SNAPSHOT\spigot-api-1.14-R0.1-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\Daniel\.m2\repository\com\google\guava\guava\21.0\guava-21.0.jar;C:\Users\Daniel\.m2\repository\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar;C:\Users\Daniel\.m2\repository\net\md-5\bungeecord-chat\1.13-SNAPSHOT\bungeecord-chat-1.13-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;C:\Users\Daniel\.m2\repository\com\mojang\authlib\1.5.21\authlib-1.5.21.jar;C:\Users\Daniel\.m2\repository\org\apache\commons\commons-lang3\3.3.2\commons-lang3-3.3.2.jar;C:\Users\Daniel\.m2\repository\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;C:\Users\Daniel\.m2\repository\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;C:\Users\Daniel\.m2\repository\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;C:\Users\Daniel\.m2\repository\com\google\code\findbugs\jsr305\2.0.1\jsr305-2.0.1.jar;C:\Users\Daniel\.m2\repository\commons-io\commons-io\2.6\commons-io-2.6.jar;C:\Users\Daniel\IdeaProjects\PersonalProjects\worldsystem\lib\FastAsyncWorldEdit.jar;C:\Users\Daniel\.m2\repository\com\sk89q\worldedit\worldedit-core\7.0.0-SNAPSHOT\worldedit-core-7.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\com\sk89q\worldedit\worldedit-libs\core\7.0.0-SNAPSHOT\core-7.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\de\schlichtherle\truezip\6.8.3\truezip-6.8.3.jar;C:\Users\Daniel\.m2\repository\rhino\js\1.7R2\js-1.7R2.jar;C:\Users\Daniel\.m2\repository\com\googlecode\json-simple\json-simple\1.1.1\json-simple-1.1.1.jar;C:\Users\Daniel\.m2\repository\junit\junit\4.10\junit-4.10.jar;C:\Users\Daniel\.m2\repository\org\hamcrest\hamcrest-core\1.1\hamcrest-core-1.1.jar;C:\Users\Daniel\.m2\repository\org\slf4j\slf4j-api\1.7.26\slf4j-api-1.7.26.jar;C:\Users\Daniel\.m2\repository\com\sk89q\worldedit\worldedit-bukkit\7.0.0-SNAPSHOT\worldedit-bukkit-7.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\com\sk89q\worldedit\worldedit-libs\bukkit\7.0.0-SNAPSHOT\bukkit-7.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\org\bukkit\bukkit\1.13.2-R0.1-SNAPSHOT\bukkit-1.13.2-R0.1-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\io\papermc\paperlib\1.0.2\paperlib-1.0.2.jar;C:\Users\Daniel\.m2\repository\org\apache\logging\log4j\log4j-slf4j-impl\2.8.1\log4j-slf4j-impl-2.8.1.jar;C:\Users\Daniel\.m2\repository\org\bstats\bstats-bukkit\1.4\bstats-bukkit-1.4.jar;C:\Users\Daniel\.m2\repository\net\myplayplanet\CommandFramework\2.0.0-SNAPSHOT\CommandFramework-2.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\net\milkbowl\vault\VaultAPI\1.6\VaultAPI-1.6.jar;C:\Users\Daniel\.m2\repository\me\clip\placeholderapi\2.9.2\placeholderapi-2.9.2.jar;C:\Users\Daniel\.m2\repository\org\projectlombok\lombok\1.18.4\lombok-1.18.4.jar;"/>
|
<property name="surefire.test.class.path" value="C:\Users\Daniel\IdeaProjects\PersonalProjects\worldsystem\target\test-classes;C:\Users\Daniel\IdeaProjects\PersonalProjects\worldsystem\target\classes;C:\Users\Daniel\.m2\repository\org\spigotmc\spigot-api\1.14-R0.1-SNAPSHOT\spigot-api-1.14-R0.1-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\Daniel\.m2\repository\com\google\guava\guava\21.0\guava-21.0.jar;C:\Users\Daniel\.m2\repository\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar;C:\Users\Daniel\.m2\repository\net\md-5\bungeecord-chat\1.13-SNAPSHOT\bungeecord-chat-1.13-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;C:\Users\Daniel\.m2\repository\com\mojang\authlib\1.5.21\authlib-1.5.21.jar;C:\Users\Daniel\.m2\repository\org\apache\commons\commons-lang3\3.3.2\commons-lang3-3.3.2.jar;C:\Users\Daniel\.m2\repository\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;C:\Users\Daniel\.m2\repository\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;C:\Users\Daniel\.m2\repository\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;C:\Users\Daniel\.m2\repository\com\google\code\findbugs\jsr305\2.0.1\jsr305-2.0.1.jar;C:\Users\Daniel\.m2\repository\commons-io\commons-io\2.6\commons-io-2.6.jar;C:\Users\Daniel\IdeaProjects\PersonalProjects\worldsystem\lib\FastAsyncWorldEdit.jar;C:\Users\Daniel\.m2\repository\com\sk89q\worldedit\worldedit-core\7.0.0-SNAPSHOT\worldedit-core-7.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\com\sk89q\worldedit\worldedit-libs\core\7.0.0-SNAPSHOT\core-7.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\de\schlichtherle\truezip\6.8.3\truezip-6.8.3.jar;C:\Users\Daniel\.m2\repository\rhino\js\1.7R2\js-1.7R2.jar;C:\Users\Daniel\.m2\repository\com\googlecode\json-simple\json-simple\1.1.1\json-simple-1.1.1.jar;C:\Users\Daniel\.m2\repository\junit\junit\4.10\junit-4.10.jar;C:\Users\Daniel\.m2\repository\org\hamcrest\hamcrest-core\1.1\hamcrest-core-1.1.jar;C:\Users\Daniel\.m2\repository\org\slf4j\slf4j-api\1.7.26\slf4j-api-1.7.26.jar;C:\Users\Daniel\.m2\repository\com\sk89q\worldedit\worldedit-bukkit\7.0.0-SNAPSHOT\worldedit-bukkit-7.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\com\sk89q\worldedit\worldedit-libs\bukkit\7.0.0-SNAPSHOT\bukkit-7.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\org\bukkit\bukkit\1.13.2-R0.1-SNAPSHOT\bukkit-1.13.2-R0.1-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\io\papermc\paperlib\1.0.2\paperlib-1.0.2.jar;C:\Users\Daniel\.m2\repository\org\apache\logging\log4j\log4j-slf4j-impl\2.8.1\log4j-slf4j-impl-2.8.1.jar;C:\Users\Daniel\.m2\repository\org\bstats\bstats-bukkit\1.4\bstats-bukkit-1.4.jar;C:\Users\Daniel\.m2\repository\net\myplayplanet\CommandFramework\2.0.0-SNAPSHOT\CommandFramework-2.0.0-SNAPSHOT.jar;C:\Users\Daniel\.m2\repository\net\milkbowl\vault\VaultAPI\1.6\VaultAPI-1.6.jar;C:\Users\Daniel\.m2\repository\me\clip\placeholderapi\2.9.2\placeholderapi-2.9.2.jar;C:\Users\Daniel\.m2\repository\org\projectlombok\lombok\1.18.4\lombok-1.18.4.jar;"/>
|
||||||
<property name="sun.cpu.endian" value="little"/>
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
<property name="user.home" value="C:\Users\Daniel"/>
|
<property name="user.home" value="C:\Users\Daniel"/>
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
<property name="java.specification.name" value="Java Platform API Specification"/>
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
|
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
|
||||||
<property name="surefire.real.class.path" value="C:\Users\Daniel\AppData\Local\Temp\surefire4842291927356751410\surefirebooter1961109782025746048.jar"/>
|
<property name="surefire.real.class.path" value="C:\Users\Daniel\AppData\Local\Temp\surefire1746139620374791820\surefirebooter5574425989320255874.jar"/>
|
||||||
<property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_201\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_201\jre\classes"/>
|
<property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_201\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_201\jre\classes"/>
|
||||||
<property name="user.script" value=""/>
|
<property name="user.script" value=""/>
|
||||||
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
@ -61,5 +61,5 @@
|
|||||||
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
<property name="java.class.version" value="52.0"/>
|
<property name="java.class.version" value="52.0"/>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase name="asWorldCreator" classname="de.butzlabben.world.wrapper.GeneratorSettingsTest" time="0.073"/>
|
<testcase name="asWorldCreator" classname="de.butzlabben.world.wrapper.GeneratorSettingsTest" time="0.024"/>
|
||||||
</testsuite>
|
</testsuite>
|
Loading…
Reference in New Issue
Block a user