Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -15,6 +15,8 @@ module Dodge.Data.Item (
|
||||
module Dodge.Data.Item.Location,
|
||||
) where
|
||||
|
||||
import Data.Store
|
||||
import TH.Derive
|
||||
import Color
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
@@ -54,3 +56,5 @@ _itUseAimStance = _aimStance . _heldAim . _itUse
|
||||
|
||||
makeLenses ''Item
|
||||
deriveJSON defaultOptions ''Item
|
||||
|
||||
$($(derive [d| instance Deriving (Store Item) |]))
|
||||
|
||||
Reference in New Issue
Block a user