File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
common/src/main/clojure/gay/object/caduceus/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5
5
(at.petrak.hexcasting.api.casting.eval.vm SpellContinuation SpellContinuation$Done SpellContinuation$NotDone)
6
6
(at.petrak.hexcasting.api.casting.iota IotaType NullIota)
7
7
(at.petrak.hexcasting.common.lib.hex HexContinuationTypes HexIotaTypes)
8
- (dev.architectury.platform Platform)))
8
+ (dev.architectury.platform Mod Platform)))
9
9
10
10
(defn done? [cont]
11
11
(instance? SpellContinuation$Done cont))
97
97
98
98
(defn- mod-name [id]
99
99
(if-let [mod (-> id Platform/getOptionalMod (.orElse nil ))]
100
- (.getName mod)
100
+ (.getName ^Mod mod) ; type hint is required to prevent reflection from loading client method on server
101
101
(as-> id v
102
102
(str/split v #"_" )
103
103
(map str/capitalize v)
You can’t perform that action at this time.
0 commit comments