Improved LUA exception report

This commit is contained in:
Unknown 2019-04-29 04:00:31 +02:00 committed by unknown
parent 496e4be720
commit 7df1fb97a4

View file

@ -436,7 +436,7 @@ public abstract class TileEntityAbstractInterfaced extends TileEntityAbstractBas
if (WarpDriveConfig.LOGGING_LUA) {
exception.printStackTrace();
}
throw new RuntimeException(String.format("LUA handling exception in %s\nEnable LUA logs for details.",
throw new RuntimeException(String.format("Internal exception in %s()\nEnable LUA logs for details.",
methodName));
}
}