mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update for Minecraft 1.8
This commit is contained in:
1 parent
54bcd1c1f3
commit
5b2c774edc
107 files changed
+4415
-3504
No files matched your search
@@ -90,12 +90,12 @@ public class BlockCactus extends Block {
|
||||
world.getServer().getPluginManager().callEvent(event);
|
||||
|
||||
if (!event.isCancelled()) {
|
||||
entity.damageEntity((Entity) null, event.getDamage());
|
||||
entity.damageEntity(DamageSource.g, event.getDamage());
|
||||
}
|
||||
return;
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
entity.damageEntity((Entity) null, 1);
|
||||
entity.damageEntity(DamageSource.g, 1);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user