From f1433cfc883afa4b9e1cc0417dad0df514b953fa Mon Sep 17 00:00:00 2001 From: Garbage Mule Date: Fri, 16 Sep 2011 22:45:05 +0200 Subject: [PATCH] Code cleanup --- .../MobArena/repairable/Repairable.java | 4 +- .../MobArena/repairable/RepairableBlock.java | 37 ------------------- 2 files changed, 1 insertion(+), 40 deletions(-) diff --git a/src/com/garbagemule/MobArena/repairable/Repairable.java b/src/com/garbagemule/MobArena/repairable/Repairable.java index 067f08c..ca46900 100644 --- a/src/com/garbagemule/MobArena/repairable/Repairable.java +++ b/src/com/garbagemule/MobArena/repairable/Repairable.java @@ -1,12 +1,10 @@ package com.garbagemule.MobArena.repairable; -//import java.io.Serializable; - import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.BlockState; -public interface Repairable// extends Serializable +public interface Repairable { public void repair(); diff --git a/src/com/garbagemule/MobArena/repairable/RepairableBlock.java b/src/com/garbagemule/MobArena/repairable/RepairableBlock.java index 83a3de9..a4d5b34 100644 --- a/src/com/garbagemule/MobArena/repairable/RepairableBlock.java +++ b/src/com/garbagemule/MobArena/repairable/RepairableBlock.java @@ -74,41 +74,4 @@ public class RepairableBlock implements Repairable { return z; } - - /* - public void setWorld(World world) - { - this.world = world; - } - - public void setType(Material type) - { - this.type = type; - } - - public void setId(int id) - { - this.id = id; - } - - public void setData(byte data) - { - this.data = data; - } - - public void setX(int x) - { - this.x = x; - } - - public void setY(int y) - { - this.y = y; - } - - public void setZ(int z) - { - this.z = z; - } - */ }