mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 12:01:20 +02:00
Updated Essentials to work with R5
This commit is contained in:
@@ -856,7 +856,7 @@ public class WorldDataHolder {
|
||||
PluginManager pm = server.getPluginManager();
|
||||
Plugin[] plugins = pm.getPlugins();
|
||||
for (int i = 0; i < plugins.length; i++) {
|
||||
plugins[i].getConfiguration().load();
|
||||
//plugins[i].getConfiguration().load();
|
||||
try {
|
||||
plugins[i].getClass().getMethod("setupPermissions").invoke(plugins[i]);
|
||||
} catch (Exception ex) {
|
||||
|
@@ -37,7 +37,7 @@ public class GMGroupEvent extends Event {
|
||||
protected Action action;
|
||||
|
||||
public GMGroupEvent(Group group, Action action) {
|
||||
super(action.toString());
|
||||
super();
|
||||
|
||||
this.group = group;
|
||||
this.action = action;
|
||||
@@ -45,7 +45,7 @@ public class GMGroupEvent extends Event {
|
||||
}
|
||||
|
||||
public GMGroupEvent(String groupName, Action action) {
|
||||
super(action.toString());
|
||||
super();
|
||||
|
||||
this.groupName = groupName;
|
||||
this.action = action;
|
||||
|
@@ -32,7 +32,7 @@ public class GMSystemEvent extends Event {
|
||||
protected Action action;
|
||||
|
||||
public GMSystemEvent(Action action) {
|
||||
super(action.toString());
|
||||
super();
|
||||
|
||||
this.action = action;
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ public class GMUserEvent extends Event {
|
||||
protected Action action;
|
||||
|
||||
public GMUserEvent(User user, Action action) {
|
||||
super(action.toString());
|
||||
super();
|
||||
|
||||
this.user = user;
|
||||
this.action = action;
|
||||
@@ -45,7 +45,7 @@ public class GMUserEvent extends Event {
|
||||
}
|
||||
|
||||
public GMUserEvent(String userName, Action action) {
|
||||
super(action.toString());
|
||||
super();
|
||||
|
||||
this.userName = userName;
|
||||
this.action = action;
|
||||
|
Reference in New Issue
Block a user