-
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't workingcoreCore logic module of the frameworkCore logic module of the frameworkrefactorParts of the code need to be moved, enhanced, changed, or removedParts of the code need to be moved, enhanced, changed, or removedtop priorityMust be completed immediatelyMust be completed immediately
Description
Bug Description
When info(), warn(), and error() attempt to log a null object in FlixelLogger, it crashes the game. This is because since any log method can take a generic object, it naturally calls toString() on it.
Steps to Reproduce
Simply use Flixel.info(null), Flixel.warn(null) or Flixel.error(null).
Expected Behavior
It should prevent it and instead just print null in the console.
Logs or Screenshots
FlixelGDX Version
1.0.0
Platform
Other (please specify in description)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreCore logic module of the frameworkCore logic module of the frameworkrefactorParts of the code need to be moved, enhanced, changed, or removedParts of the code need to be moved, enhanced, changed, or removedtop priorityMust be completed immediatelyMust be completed immediately
Projects
Status
✅ Completed