LongFeiaot Posted September 24, 2016 Share Posted September 24, 2016 I find a global function moderror in modutl.lua,but I can't use it since KnownModIndex:IsModErrorEnabled() is always false. Anyone know how to make KnownModIndex:IsModErrorEnabled() true? Link to comment https://forums.kleientertainment.com/forums/topic/70388-how-to-enable-moderror/ Share on other sites More sharing options...
Serpens Posted September 24, 2016 Share Posted September 24, 2016 http://forums.kleientertainment.com/topic/66075-world-gen-data-and-mod-changes/?do=findComment&comment=745137 But I can't imagine why you should need this? Just use normal print statements for debugging. Link to comment https://forums.kleientertainment.com/forums/topic/70388-how-to-enable-moderror/#findComment-817627 Share on other sites More sharing options...
LongFeiaot Posted September 25, 2016 Author Share Posted September 25, 2016 17 hours ago, Serpens said: http://forums.kleientertainment.com/topic/66075-world-gen-data-and-mod-changes/?do=findComment&comment=745137 But I can't imagine why you should need this? Just use normal print statements for debugging. Oh,Thank you. I want to test my mod automatically,and normal print need to be commented. Link to comment https://forums.kleientertainment.com/forums/topic/70388-how-to-enable-moderror/#findComment-817987 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now