geforkt von Mirrors/Paper
11 Zeilen
570 B
Diff
11 Zeilen
570 B
Diff
|
--- a/net/minecraft/server/BlockMagma.java
|
||
|
+++ b/net/minecraft/server/BlockMagma.java
|
||
|
@@ -17,6 +17,7 @@
|
||
|
|
||
|
public void stepOn(World world, BlockPosition blockposition, Entity entity) {
|
||
|
if (!entity.isFireProof() && entity instanceof EntityLiving && !EnchantmentManager.j((EntityLiving) entity)) {
|
||
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.blockDamage = world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ()); // CraftBukkit
|
||
|
entity.damageEntity(DamageSource.HOT_FLOOR, 1.0F);
|
||
|
}
|
||
|
|