mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Cleanup comments, formatting, etc
This commit is contained in:
1 parent
7c40a073d8
commit
5f089137ee
148 files changed
+420
-470
No files matched your search
@@ -134,7 +134,7 @@ public class BlockFire extends Block {
|
||||
k2 = 15;
|
||||
}
|
||||
|
||||
// CraftBukkit start - call to stop spread of fire
|
||||
// CraftBukkit start - Call to stop spread of fire
|
||||
if (world.getTypeId(i1, k1, j1) != Block.FIRE.id) {
|
||||
if (CraftEventFactory.callBlockIgniteEvent(world, i1, k1, j1, i, j, k).isCancelled()) {
|
||||
continue;
|
||||
@@ -261,7 +261,7 @@ public class BlockFire extends Block {
|
||||
|
||||
// CraftBukkit start
|
||||
private void fireExtinguished(World world, int x, int y, int z) {
|
||||
if (org.bukkit.craftbukkit.event.CraftEventFactory.callBlockFadeEvent(world.getWorld().getBlockAt(x, y, z), 0).isCancelled() == false) {
|
||||
if (!CraftEventFactory.callBlockFadeEvent(world.getWorld().getBlockAt(x, y, z), 0).isCancelled()) {
|
||||
world.setAir(x, y, z);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user