2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/entity/monster/EntityStrider.java
|
|
|
|
+++ b/net/minecraft/world/entity/monster/EntityStrider.java
|
|
|
|
@@ -318,7 +318,12 @@
|
2021-01-29 10:00:43 +01:00
|
|
|
IBlockData iblockdata1 = this.aN();
|
|
|
|
boolean flag = iblockdata.a((Tag) TagsBlock.STRIDER_WARM_BLOCKS) || iblockdata1.a((Tag) TagsBlock.STRIDER_WARM_BLOCKS) || this.b((Tag) TagsFluid.LAVA) > 0.0D;
|
|
|
|
|
|
|
|
- this.setShivering(!flag);
|
|
|
|
+ // CraftBukkit start
|
|
|
|
+ if (!flag ^ this.isShivering()) {
|
|
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.callStriderTemperatureChangeEvent(this, !flag);
|
|
|
|
+ this.setShivering(!flag);
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
super.tick();
|
|
|
|
this.eU();
|
|
|
|
this.checkBlockCollisions();
|