Yet Another World Protector

Yet Another World Protector

247k Downloads

Possible bug with no-hunger flag

YuriAlessandro opened this issue ยท 4 comments

commented

I have been testing the newly added no-hunger on my server and at least in my tests it seems the flag is only working for OP players. When I remove myself from OP list, I start getting my hunger bar lowering again.

Is this a bug or myself setting bein dumb?

I'm using Forge 47.3.0 for version 1.20.1

commented

I don't know if this helps but here it is all my flags for this region

Image

commented

I think it's a bit confusing, since this is an inverted flag.

Since you're blocking no-hunger, meaning you block not having hunger = they have hunger.

If you change the flag to Allow instead of deniend, it should start blocking for all.

The reason it works for op, is that they bypass (based on the config) aka. getting the inverted result.

commented

Yeah it worked I knew i was being dumb. Thanks for the quick help!

commented

I have been testing the newly added no-hunger on my server and at least in my tests it seems the flag is only working for OP players. When I remove myself from OP list, I start getting my hunger bar lowering again.

Is this a bug or myself setting bein dumb?

I'm using Forge 47.3.0 for version 1.20.1

Hi!

  1. You are not being dumb!
    This flag is the first of its kind with it being somewhat inverted by its logic.
    Furthermore this is not yet documented so how should you know.

  2. There are some issues with it still. I just found a series of logical errors which can cause inconsistent or rather unexpected flag behaviour.

I am currently fixing this. Look out for a patch in the next couple of days.

  1. Thanks @MagnusHJensen :-)