eccentricdevotion / TARDIS

A Spigot / Paper plugin for all Doctor Who fans - create and use a TARDIS! It's bigger on the inside!
GNU General Public License v3.0
79 stars 27 forks source link

shift spam #846

Open Airomis opened 1 week ago

Airomis commented 1 week ago

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

eccentricdevotion commented 1 week ago

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

ToppanaFIN commented 1 week ago

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

eccentricdevotion commented 1 week ago

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

Airomis commented 1 week ago

Things like don't blink and every other text that comes up when you freeze an angel

On Fri, Jun 21, 2024, 23:42 Eccentric Devotion @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/eccentricdevotion/TARDIS/issues/846#issuecomment-2183760300, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOUOQSFSOP7M7MTY6UWSWLZITXB3AVCNFSM6AAAAABJT2PRBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTG43DAMZQGA . You are receiving this because you authored the thread.Message ID: @.***>

eccentricdevotion commented 1 week ago

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.