geforkt von Mirrors/Paper
SPIGOT-6518: Anvils falling onto dripstone can sometimes crash server
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
35223329b1
Commit
81163e6137
@ -876,7 +876,7 @@ public class CraftEventFactory {
|
||||
} else if (blockDamage != null) {
|
||||
DamageCause cause = null;
|
||||
Block damager = blockDamage;
|
||||
if (source == DamageSource.CACTUS || source == DamageSource.SWEET_BERRY_BUSH || source == DamageSource.STALAGMITE) {
|
||||
if (source == DamageSource.CACTUS || source == DamageSource.SWEET_BERRY_BUSH || source == DamageSource.STALAGMITE || source == DamageSource.ANVIL) {
|
||||
cause = DamageCause.CONTACT;
|
||||
} else if (source == DamageSource.HOT_FLOOR) {
|
||||
cause = DamageCause.HOT_FLOOR;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren