mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-22 16:49:14 +00:00
Activate decree
This commit is contained in:
@@ -19,9 +19,6 @@
|
||||
package com.volmit.iris;
|
||||
|
||||
import com.volmit.iris.core.IrisSettings;
|
||||
import com.volmit.iris.core.command.CommandIris;
|
||||
import com.volmit.iris.core.command.PermissionIris;
|
||||
import com.volmit.iris.core.command.studio.CommandIrisStudio;
|
||||
import com.volmit.iris.core.link.IrisPapiExpansion;
|
||||
import com.volmit.iris.core.link.MultiverseCoreLink;
|
||||
import com.volmit.iris.core.link.MythicMobsLink;
|
||||
@@ -90,9 +87,6 @@ public class Iris extends VolmitPlugin implements Listener {
|
||||
private static VolmitSender sender;
|
||||
private final KList<Runnable> postShutdown = new KList<>();
|
||||
|
||||
@Permission
|
||||
public static PermissionIris perm;
|
||||
|
||||
public static VolmitSender getSender() {
|
||||
return sender;
|
||||
}
|
||||
@@ -380,7 +374,7 @@ public class Iris extends VolmitPlugin implements Listener {
|
||||
Iris.error("============================================================================");
|
||||
|
||||
for (Player i : Bukkit.getOnlinePlayers()) {
|
||||
if (i.isOp() || Iris.perm.has(i)) {
|
||||
if (i.isOp() || i.hasPermission("iris.all")) {
|
||||
VolmitSender sender = new VolmitSender(i, getTag("WARNING"));
|
||||
sender.sendMessage("There are some Iris Packs that have custom biomes in them");
|
||||
sender.sendMessage("You need to restart your server to use these packs.");
|
||||
|
||||
Reference in New Issue
Block a user