Trying to fix ge
This commit is contained in:
@@ -66,9 +66,9 @@ public final class SystemTermination {
|
|||||||
try {
|
try {
|
||||||
Player p = it.next();
|
Player p = it.next();
|
||||||
if (p != null && !p.isArtificial()) { // Should never be null.
|
if (p != null && !p.isArtificial()) { // Should never be null.
|
||||||
p.removeAttribute("combat-time");
|
/* p.removeAttribute("combat-time");
|
||||||
p.clear();
|
p.clear();
|
||||||
PlayerParser.save(p);
|
PlayerParser.save(p);*/
|
||||||
p.getDetails().save();
|
p.getDetails().save();
|
||||||
p.getLogoutPlugins().forEach(playerPlugin -> {
|
p.getLogoutPlugins().forEach(playerPlugin -> {
|
||||||
try {
|
try {
|
||||||
@@ -77,6 +77,7 @@ public final class SystemTermination {
|
|||||||
throwable.printStackTrace();
|
throwable.printStackTrace();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
p.clear();
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user