mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +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)
|
||||
|
||||
// regarding the issue #26
|
||||
try {
|
||||
// uncomment this if you're facing diabolically indescribable bugs
|
||||
/*try {
|
||||
val fuck = BlockCodex[thisTerrain].getLumCol(x, y)
|
||||
}
|
||||
catch (e: NullPointerException) {
|
||||
@@ -62,7 +63,7 @@ internal class LightCalculatorContext(
|
||||
System.err.println("\nMINIMINIDUMP END")
|
||||
|
||||
exitProcess(1)
|
||||
}
|
||||
}*/
|
||||
|
||||
if (thisFluid.type != Fluid.NULL) {
|
||||
fluidAmountToCol.set(thisFluid.amount, thisFluid.amount, thisFluid.amount, thisFluid.amount)
|
||||
|
||||
Reference in New Issue
Block a user