mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-02-16 10:30:53 +00:00
whopsie
This commit is contained in:
@@ -513,7 +513,7 @@ public class Iris extends VolmitPlugin implements Listener {
|
||||
try {
|
||||
|
||||
ConfigurationSection entry = section.getConfigurationSection(s);
|
||||
if (!entry.contains("generator", true)) {
|
||||
if (!entry.contains("backup-generator", true)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -491,11 +491,11 @@ public class CommandIris implements DecreeExecutor {
|
||||
try {
|
||||
|
||||
ConfigurationSection entry = section.getConfigurationSection(s);
|
||||
if (!entry.contains("generator", true)) {
|
||||
if (!entry.contains("backup-generator", true)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
String generator = entry.getString("generator");
|
||||
String generator = entry.getString("backup-generator");
|
||||
if (!generator.startsWith("Iris")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.util.HashSet;
|
||||
|
||||
@Data
|
||||
public class IrisEngineStatistics {
|
||||
private int totalHotloads = 0;
|
||||
private int unsafeShutdown = 0;
|
||||
private int chunksGenerated = 0;
|
||||
private int IrisToUpgradedVersion = 0;
|
||||
private int IrisCreationVersion = 0;
|
||||
@@ -34,8 +34,8 @@ public class IrisEngineStatistics {
|
||||
chunksGenerated++;
|
||||
}
|
||||
|
||||
public void hotloaded() {
|
||||
totalHotloads++;
|
||||
public void unsafeShutdown() {
|
||||
unsafeShutdown++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user