Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -5,6 +5,8 @@ module Dodge.Data.Item.Location where
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data ItemLocation
|
||||
= InInv {_ipCrID :: Int, _ipInvID :: Int}
|
||||
@@ -15,3 +17,4 @@ data ItemLocation
|
||||
|
||||
makeLenses ''ItemLocation
|
||||
deriveJSON defaultOptions ''ItemLocation
|
||||
$($(derive [d| instance Deriving (Store ItemLocation) |]))
|
||||
|
||||
Reference in New Issue
Block a user