mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
49b5ee78bb
By: Doc <nachito94@msn.com>
11 lines
647 B
Diff
11 lines
647 B
Diff
--- a/net/minecraft/world/level/block/BlockMagma.java
|
|
+++ b/net/minecraft/world/level/block/BlockMagma.java
|
|
@@ -30,7 +30,7 @@
|
|
@Override
|
|
public void stepOn(World world, BlockPosition blockposition, IBlockData iblockdata, Entity entity) {
|
|
if (!entity.isSteppingCarefully() && entity instanceof EntityLiving && !EnchantmentManager.hasFrostWalker((EntityLiving) entity)) {
|
|
- entity.hurt(world.damageSources().hotFloor(), 1.0F);
|
|
+ entity.hurt(world.damageSources().hotFloor().directBlock(world, blockposition), 1.0F); // CraftBukkit
|
|
}
|
|
|
|
super.stepOn(world, blockposition, iblockdata, entity);
|