Cleanup sources

This commit is contained in:
cyberpwn
2021-08-16 18:53:01 -04:00
parent af602a414a
commit a462ab98e9
73 changed files with 1235 additions and 1508 deletions

View File

@@ -136,8 +136,7 @@ public class Mantle {
throw new RuntimeException("The Mantle is closed");
}
if(y < 0)
{
if (y < 0) {
return;
}
@@ -170,8 +169,7 @@ public class Mantle {
throw new RuntimeException("The Mantle is closed");
}
if(y < 0)
{
if (y < 0) {
return null;
}
@@ -259,8 +257,7 @@ public class Mantle {
*/
@RegionCoordinates
private TectonicPlate get(int x, int z) {
if(io.get())
{
if (io.get()) {
try {
return getSafe(x, z).get();
} catch (InterruptedException e) {
@@ -272,8 +269,7 @@ public class Mantle {
TectonicPlate p = loadedRegions.get(key(x, z));
if(p != null)
{
if (p != null) {
return p;
}