Skip to content

Commit

Permalink
pandemonium
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsterner committed Jun 16, 2024
1 parent 25a938d commit cb79509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public final class PandemoniumItems {

public static void init() {
registerItem(PandemoniumItems.BALEFUL_SOUL_VESSEL, "baleful_soul_vessel");
ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS.getId()).register(entries -> entries.addItem(BALEFUL_SOUL_VESSEL));
ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS_AND_UTILITIES).register(entries -> entries.addItem(BALEFUL_SOUL_VESSEL));
}

public static <T extends Item> void registerItem(T item, String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void possessedMobsCantTargetThemselves(QuiltTestContext ctx) {
ZombieEntity nu = ctx.spawnMob(EntityType.ZOMBIE, 3, 0, 1);
ZombieEntity xi = ctx.spawnMob(EntityType.ZOMBIE, 4, 0, 1);
RequiemTestUtil.startPossession(player, mu);
ctx.waitAndRun(1, () -> {
ctx.waitAndRun(2, () -> {
mu.tryAttack(nu);
ctx.succeedWhen(() -> {
ctx.assertTrue(nu.getTarget() == mu, "Attacked party should target attacker");
Expand Down

0 comments on commit cb79509

Please sign in to comment.