EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
836 stars 545 forks source link

Camel spawn eggs usable within a region with mob-spawning denied #2022

Closed ToeDev closed 1 year ago

ToeDev commented 1 year ago

WorldEdit Version

7.2.15

WorldGuard Version

7.0.9-beta1

Platform Version

Paper-43 1.20.1

Confirmations

Bug Description

When attempting to spawn a camel via a spawn egg within a region that has mob-spawning: deny set, the camel successfully spawns every time. This is only happening with the camel egg, no others.

Expected Behavior

The camel should not be able to spawn.

Reproduction Steps

  1. Set /rg flag global mob-spawning deny
  2. Right click ground with camel spawn egg

Optional WorldGuard-Report

No response

Anything Else?

No response

wizjany commented 1 year ago

as mentioned already, there's no WG bug here. mojang for whatever reason decided to make camels tamed when you spawn them with a spawn egg, so you'll need to turn off allow-tamed-spawns in WG config or whatever it is.

ToeDev commented 1 year ago

Well you actually did not mention that. You just said "doesn't sound like a WG issue then" and "not sure how you figure everything is pointing to WG". Thanks for actually giving an answer though. It would have been nice for you to do that originally instead of simply writing everything I said off without explanation.

wizjany commented 1 year ago

i told you it wasn't a WG issue because that's the extent of what i knew when i said it.