TARDIS

TARDIS

228k Downloads

Weeping Angel shift spam

Airomis opened this issue · 5 comments

commented

Describe the bug

when you shift any time in the world you get weeping angle prompts should this be entering / exiting the tardis walking on an edge or just toggleing the shift.

To Reproduce

install build 2862

enable TWA

hit shift when walking around

Screenshots

No response

Log files

Paste configs or pastebin.com link here!

'/tardis version' output

b 2862
mc 1.21

commented

Cannot reproduce, sneaking works as expected, no weeping angel prompts or messages...

commented

This most likely relates to the crafting bug we have which affects custom mobs I'd assume.

commented

Unlikely to be related to crafting I would say.
What messages are actually appearing?

commented
commented

I still can't reproduce.

// freeze the closest skeleton
   if (skeleton != null) {
      skeleton.addPotionEffect(new PotionEffect(PotionEffectType.SLOWNESS, plugin.getMonstersConfig().getInt("angels.freeze_time"), 30, true, false));
      if (!player.isSneaking()) {
         plugin.getMessenger().message(player, TardisModule.MONSTERS, message.get(TARDISConstants.RANDOM.nextInt(4)));
   }
}

Messages should only be showing if the player looking at a weeping angel and is NOT sneaking as this is the only code that ever sends those messages.