mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Rename revision 2
This commit is contained in:
1 parent
3c5632de31
commit
2b5a61f03d
29 files changed
+126
-126
No files matched your search
@@ -90,12 +90,12 @@ public class BlockCactus extends Block {
|
||||
world.getServer().getPluginManager().callEvent(event);
|
||||
|
||||
if (!event.isCancelled()) {
|
||||
entity.damageEntity(DamageSource.g, event.getDamage());
|
||||
entity.damageEntity(DamageSource.CACTUS, event.getDamage());
|
||||
}
|
||||
return;
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
entity.damageEntity(DamageSource.g, 1);
|
||||
entity.damageEntity(DamageSource.CACTUS, 1);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user