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