From a4ce846d07e8f5a0e350e49718aaf3d460658f0f Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sat, 14 Jan 2012 23:02:10 +0100 Subject: Fix formatting. --- src/main/java/net/minecraft/server/EntityPainting.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/net/minecraft/server/EntityPainting.java') diff --git a/src/main/java/net/minecraft/server/EntityPainting.java b/src/main/java/net/minecraft/server/EntityPainting.java index b4d5c67e..22029666 100644 --- a/src/main/java/net/minecraft/server/EntityPainting.java +++ b/src/main/java/net/minecraft/server/EntityPainting.java @@ -125,7 +125,7 @@ public class EntityPainting extends Entity { this.f = 0; if (!this.survives()) { // CraftBukkit start - Material material = this.world.getMaterial((int)this.locX, (int)this.locY, (int)this.locZ); + Material material = this.world.getMaterial((int) this.locX, (int) this.locY, (int) this.locZ); RemoveCause cause; if (material.equals(Material.WATER)) { cause = RemoveCause.WATER; @@ -142,7 +142,7 @@ public class EntityPainting extends Entity { return; } - if(!dead) { + if (!dead) { this.die(); this.world.addEntity(new EntityItem(this.world, this.locX, this.locY, this.locZ, new ItemStack(Item.PAINTING))); } -- cgit v1.2.3