2021-03-16 09:00:00 +11:00
|
|
|
--- a/net/minecraft/world/entity/monster/EntityStrider.java
|
|
|
|
+++ b/net/minecraft/world/entity/monster/EntityStrider.java
|
2021-07-03 09:36:51 +10:00
|
|
|
@@ -321,7 +321,13 @@
|
2021-06-11 15:00:00 +10:00
|
|
|
IBlockData iblockdata1 = this.aU();
|
2021-01-29 20:00:43 +11:00
|
|
|
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()) {
|
2021-07-03 09:36:51 +10:00
|
|
|
+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callStriderTemperatureChangeEvent(this, !flag)) {
|
|
|
|
+ this.setShivering(!flag);
|
|
|
|
+ }
|
2021-01-29 20:00:43 +11:00
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
super.tick();
|
2021-07-07 00:00:00 +10:00
|
|
|
this.fE();
|
2021-01-29 20:00:43 +11:00
|
|
|
this.checkBlockCollisions();
|