mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-16 16:46:07 +09:00
commenting out the assert code that is called ~50 000 times per frame
This commit is contained in:
@@ -43,7 +43,8 @@ internal class LightCalculatorContext(
|
|||||||
thisWall = world.getTileFromWallRaw(x, y)
|
thisWall = world.getTileFromWallRaw(x, y)
|
||||||
|
|
||||||
// regarding the issue #26
|
// regarding the issue #26
|
||||||
try {
|
// uncomment this if you're facing diabolically indescribable bugs
|
||||||
|
/*try {
|
||||||
val fuck = BlockCodex[thisTerrain].getLumCol(x, y)
|
val fuck = BlockCodex[thisTerrain].getLumCol(x, y)
|
||||||
}
|
}
|
||||||
catch (e: NullPointerException) {
|
catch (e: NullPointerException) {
|
||||||
@@ -62,7 +63,7 @@ internal class LightCalculatorContext(
|
|||||||
System.err.println("\nMINIMINIDUMP END")
|
System.err.println("\nMINIMINIDUMP END")
|
||||||
|
|
||||||
exitProcess(1)
|
exitProcess(1)
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (thisFluid.type != Fluid.NULL) {
|
if (thisFluid.type != Fluid.NULL) {
|
||||||
fluidAmountToCol.set(thisFluid.amount, thisFluid.amount, thisFluid.amount, thisFluid.amount)
|
fluidAmountToCol.set(thisFluid.amount, thisFluid.amount, thisFluid.amount, thisFluid.amount)
|
||||||
|
|||||||
Reference in New Issue
Block a user