diff options
author | feildmaster <admin@feildmaster.com> | 2012-03-25 18:06:43 -0500 |
---|---|---|
committer | Warren Loo <evilseph@gmail.com> | 2012-03-25 19:46:55 -0400 |
commit | 80db22b643ca55f116474b3285a07d447ab188ee (patch) | |
tree | 9d14c2c7b913c7bd7506e17c262942e5153c25b7 /src/main/java/net/minecraft/server/BlockTNT.java | |
parent | c30e339af6dd7594cca7e0c1ca31f0ea34a0afa9 (diff) | |
download | craftbukkit-80db22b643ca55f116474b3285a07d447ab188ee.tar craftbukkit-80db22b643ca55f116474b3285a07d447ab188ee.tar.gz craftbukkit-80db22b643ca55f116474b3285a07d447ab188ee.tar.lz craftbukkit-80db22b643ca55f116474b3285a07d447ab188ee.tar.xz craftbukkit-80db22b643ca55f116474b3285a07d447ab188ee.zip |
Refactor code to be more efficient.
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockTNT.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockTNT.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockTNT.java b/src/main/java/net/minecraft/server/BlockTNT.java index 3aaf8c6d..9a1f0398 100644 --- a/src/main/java/net/minecraft/server/BlockTNT.java +++ b/src/main/java/net/minecraft/server/BlockTNT.java @@ -1,6 +1,5 @@ package net.minecraft.server; -import java.util.ArrayList; // CraftBukkit import java.util.Random; public class BlockTNT extends Block { @@ -57,7 +56,7 @@ public class BlockTNT extends Block { } // CraftBukkit start - Calculate drops - public ArrayList<ItemStack> calculateDrops(World world, EntityHuman entityhuman, int i, int j, int k, int l) { + public java.util.ArrayList<ItemStack> calculateDrops(World world, EntityHuman entityhuman, int i, int j, int k, int l) { if ((l & 1) == 0) { this.a(world, i, j, k, new ItemStack(Block.TNT.id, 1, 0)); } |