Move difficulty detect to slack service
This commit is contained in:
@@ -47,7 +47,7 @@ public class WorldData {
|
||||
private boolean z;
|
||||
private boolean A;
|
||||
private boolean B;
|
||||
private EnumDifficulty C;
|
||||
private volatile EnumDifficulty C; // Akarin - volatile
|
||||
private boolean D;
|
||||
private double E;
|
||||
private double F;
|
||||
|
||||
@@ -277,9 +277,10 @@ public class WorldServer extends World implements IAsyncTaskHandler {
|
||||
@Override
|
||||
public void doTick() {
|
||||
super.doTick();
|
||||
if (this.getWorldData().isHardcore() && this.getDifficulty() != EnumDifficulty.HARD) {
|
||||
// Akarin start - goes to slack service
|
||||
/* if (this.getWorldData().isHardcore() && this.getDifficulty() != EnumDifficulty.HARD) {
|
||||
this.getWorldData().setDifficulty(EnumDifficulty.HARD);
|
||||
}
|
||||
} */ // Akarin end
|
||||
|
||||
this.worldProvider.k().b();
|
||||
if (this.everyoneDeeplySleeping()) {
|
||||
|
||||
Reference in New Issue
Block a user