diff options
author | stuebinm | 2021-12-18 17:52:25 +0100 |
---|---|---|
committer | stuebinm | 2021-12-18 17:52:25 +0100 |
commit | aa897bb7e2ae257c2680521e6b1c1cad1237df53 (patch) | |
tree | 0ae2e1582349d4cf79f941bfb647acb2417c854b /lib/Types.hs | |
parent | 96a3cc24b3b62e2e88b0d31e66204c16d20f2aa9 (diff) |
fixed parsing of tiled objects
(points behave slightly differntly than I thought)
Diffstat (limited to '')
-rw-r--r-- | lib/Types.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Types.hs b/lib/Types.hs index 978ada2..3ec9ebc 100644 --- a/lib/Types.hs +++ b/lib/Types.hs @@ -93,6 +93,9 @@ instance ToJSON Lint where toJSON (Offers l) = A.object [ "msg" .= prettyprint l , "level" .= A.String "Entrypoint Info" ] + toJSON (Badge _) = A.object + [ "msg" .= A.String "found a badge" + , "level" .= A.String "Badge Info"] instance ToJSON Hint where toJSON (Hint l m) = A.object |