generated from Slimefun/Addon-Template
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash upon generating chunks in earth's orbit #151
Labels
bug
Something isn't working
Comments
This is really strange... The appropriate checks are in place... Can you try doing a clean Galactifun/Slimefun install? As in redownload and replace the JARs |
Actually, it might be a parallelization issue (data race); lemme cook up a test build |
6 tasks
Closed
so strange... boolean before_err = false, after_err = false;
if (x < -7 || y < -7 || z < -7 || x > 7 || y > 7 || z > 7) {
System.out.println("Unexcepted location! (" + x + ", " + y + ", " + z + ")");
before_err = true;
}
if (this.currentMaterial >= 3) {
System.out.println("Unexcepted value! " + this.currentMaterial);
this.currentMaterial = 0;
before_err = true;
}
if (this.currentMiddle == null) {
System.out.println("this.currentMiddle is null");
before_err = true;
}
if (before_err) {
System.out.println("before: Calling with " + x + ", " + y + ", " + z + " :: " + this.currentMaterial);
if (this.currentMiddle != null) {
System.out.println("this.currentMiddle is " + this.currentMiddle.toString());
}
}
int _old = this.currentMaterial;
this.currentRegion.setType(currentMiddle.clone().add(x, y, z), this.materials[this.currentMaterial++]);
if (_old != this.currentMaterial - 1) {
System.out.println("Info Mismatch! " + _old + " & " + this.currentMaterial);
after_err = true;
}
if (this.currentMaterial > 3) {
System.out.println("Unexcepted value! " + this.currentMaterial);
after_err = true;
}
if (this.currentMiddle == null) {
System.out.println("this.currentMiddle is null");
after_err = true;
}
if (after_err) {
System.out.println("after: Calling with " + x + ", " + y + ", " + z);
if (this.currentMiddle != null) {
System.out.println("this.currentMiddle is " + this.currentMiddle.toString());
}
}
if (this.currentMaterial == this.materials.length) {
this.currentMaterial = 0;
} then in the test:
how? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description (Required)
When a player visited earths orbit it crashed the server. Upon deleting the world and trying to regenerate it to try to solve the issue the server crashes on start up.
Steps to reproduce the Issue (Required)
Unsure but it may be an issue with generating the chunks in 1.20 Minecraft. It happened as soon as the dimension was loaded.
Expected behavior (Required)
Not crashing on startup or world generation.
Server Log / Error Report
Crash report:
https://pastebin.com/H7rnJHYz
Logs:
https://pastebin.com/Hcv56tea
Environment (Required)
Galactifun Dev 76
Slimefun Dev Build 1092
Paper Build 101 1.20.1
The text was updated successfully, but these errors were encountered: