2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/level/block/BlockMagma.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BlockMagma.java
|
2024-02-10 23:54:25 +01:00
|
|
|
@@ -30,7 +30,7 @@
|
2019-04-23 04:00:00 +02:00
|
|
|
@Override
|
2021-06-11 07:00:00 +02:00
|
|
|
public void stepOn(World world, BlockPosition blockposition, IBlockData iblockdata, Entity entity) {
|
2022-06-07 18:00:00 +02:00
|
|
|
if (!entity.isSteppingCarefully() && entity instanceof EntityLiving && !EnchantmentManager.hasFrostWalker((EntityLiving) entity)) {
|
2024-02-10 23:54:25 +01:00
|
|
|
- entity.hurt(world.damageSources().hotFloor(), 1.0F);
|
|
|
|
+ entity.hurt(world.damageSources().hotFloor().directBlock(world, blockposition), 1.0F); // CraftBukkit
|
2016-06-11 08:11:51 +02:00
|
|
|
}
|
|
|
|
|
2021-06-11 07:00:00 +02:00
|
|
|
super.stepOn(world, blockposition, iblockdata, entity);
|