Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
Fix styling
Dieser Commit ist enthalten in:
Ursprung
64a71600f9
Commit
cd5691b819
@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
package com.sk89q.worldedit.bukkit;
|
package com.sk89q.worldedit.bukkit;
|
||||||
|
|
||||||
import com.boydti.fawe.Fawe;
|
|
||||||
import com.boydti.fawe.bukkit.FaweBukkit;
|
|
||||||
import com.boydti.fawe.config.Caption;
|
import com.boydti.fawe.config.Caption;
|
||||||
import com.boydti.fawe.config.Settings;
|
import com.boydti.fawe.config.Settings;
|
||||||
import com.boydti.fawe.object.RunnableVal;
|
import com.boydti.fawe.object.RunnableVal;
|
||||||
@ -241,15 +239,15 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
|||||||
* Permissions are used to managing WorldEdit region restrictions
|
* Permissions are used to managing WorldEdit region restrictions
|
||||||
* - The `/wea` command will give/remove the required bypass permission
|
* - The `/wea` command will give/remove the required bypass permission
|
||||||
*/
|
*/
|
||||||
if(VaultResolver.perms != null){
|
if (VaultResolver.perms != null) {
|
||||||
if(value){
|
if (value) {
|
||||||
if(!VaultResolver.perms.playerAdd(player, permission)){
|
if (!VaultResolver.perms.playerAdd(player, permission)) {
|
||||||
player.addAttachment(plugin).setPermission(permission, value);
|
player.addAttachment(plugin).setPermission(permission, value);
|
||||||
}
|
}
|
||||||
}else if(!VaultResolver.perms.playerRemove(player, permission)){
|
} else if (!VaultResolver.perms.playerRemove(player, permission)) {
|
||||||
player.addAttachment(plugin).setPermission(permission, value);
|
player.addAttachment(plugin).setPermission(permission, value);
|
||||||
}
|
}
|
||||||
}else{
|
} else {
|
||||||
player.addAttachment(plugin).setPermission(permission, value);
|
player.addAttachment(plugin).setPermission(permission, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -133,12 +133,12 @@ public class WorldEditPlugin extends JavaPlugin { //implements TabCompleter
|
|||||||
ChunkDeleter.runFromFile(delChunks, true);
|
ChunkDeleter.runFromFile(delChunks, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.getDataFolder().getParentFile().listFiles(file -> {
|
if (this.getDataFolder().getParentFile().listFiles(file -> {
|
||||||
if(file.getName().equals("DummyFawe.jar")){
|
if (file.getName().equals("DummyFawe.jar")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}).length > 0){
|
}).length > 0) {
|
||||||
getLogger().warning("DummyFawe detected! This is no longer necessary. Please remove immediately and restart your server!");
|
getLogger().warning("DummyFawe detected! This is no longer necessary. Please remove immediately and restart your server!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren