CitizensDev / Citizens2

Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
https://citizensnpcs.co
Open Software License 3.0
590 stars 313 forks source link

1.14 Wither trait broken #1965

Closed orblazer closed 4 years ago

orblazer commented 5 years ago

Hello, I have try to make an charged wither boss with API but this have not correct behaviour.

The API code used :

npc = CitizensAPI.getNPCRegistry().createNPC(EntityType.WITHER, name);
npc.getTrait(WitherTrait.class).setCharged(true);
npc.spawn(config.location);

The output of command /version on my server is: git-Paper-221 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT) The output of command /version citizens on my server is: Citizens version 2.0.25-SNAPSHOT (build 1768)

The current behaviour

This use charge of trident instead of charge of wither. 2019-10-24 19-01-43

The waiting behaviour

2019-10-24_19 19 15

Thanks.

mcmonkey4eva commented 5 years ago

While this is indeed clearly broken, might I just mention that a trident-charged spinning wither is a far more intimidating boss than a blueish one.

mcmonkey4eva commented 4 years ago

Fixed in build 1779+ by https://github.com/CitizensDev/Citizens2/commit/d0dcb235b3282f943e8079fc7eca551adcad1086