#INVOKE not working

1 messages · Page 1 of 1 (latest)

compact terrace
#

is this the proper way to use INVOKE because whenever the trySpawnMob method is called by the Trial Spawner, the game freezes and brings up the debugger.
@Inject(method = "trySpawnMob", at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/mob/MobEntity;setPersistent()V", shift = At.Shift.AFTER))

left gust
#

that just sounds like you have a breakpoint somewhere

compact terrace
left gust
#

actually, are you launching the game using Run or Debug?

left gust
#

its probably a breakpoint then

undone mulch
#

Oh gosh

undone mulch
#

There we go

compact terrace
#

Ohhhh

left gust
#

is any line highlighted in red?

compact terrace
#

I added a breakpoint just so I could keep track of where I was referencing 😭😭😭

#

Whoops