File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Common/src/main/kotlin/gay/object/hexdebug/items
Core/src/main/java/gay/object/hexdebug/core/api/debugging Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import at.petrak.hexcasting.xplat.IXplatAbstractions
88import gay.`object`.hexdebug.HexDebug
99import gay.`object`.hexdebug.adapter.DebugAdapterManager
1010import gay.`object`.hexdebug.casting.eval.DebuggerCastEnv
11- import gay.`object`.hexdebug.core.api.debugging.SynchronousDebugEnv
11+ import gay.`object`.hexdebug.core.api.debugging.SimplePlayerBasedDebugEnv
1212import gay.`object`.hexdebug.core.api.exceptions.DebugException
1313import gay.`object`.hexdebug.items.base.*
1414import gay.`object`.hexdebug.utils.asItemPredicate
@@ -121,7 +121,11 @@ class DebuggerItem(
121121 } ? : return InteractionResultHolder .fail(stack)
122122
123123 val env = DebuggerCastEnv (serverPlayer, usedHand)
124- val debugEnv = SynchronousDebugEnv (serverPlayer, env, instrs)
124+ val debugEnv = SimplePlayerBasedDebugEnv (
125+ serverPlayer,
126+ env,
127+ instrs
128+ )
125129
126130 try {
127131 debugEnv.start(threadId)
Original file line number Diff line number Diff line change 1414
1515import java .util .List ;
1616
17- public class SynchronousDebugEnv extends DebugEnvironment {
17+ public class SimplePlayerBasedDebugEnv extends DebugEnvironment {
1818 @ NotNull
1919 private final CastingEnvironment env ;
2020 @ NotNull
2121 private final List <Iota > iotas ;
2222
23- public SynchronousDebugEnv (
23+ public SimplePlayerBasedDebugEnv (
2424 @ NotNull ServerPlayer caster ,
2525 @ NotNull CastingEnvironment env ,
2626 @ NotNull List <Iota > iotas
You can’t perform that action at this time.
0 commit comments