diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-11-16 16:46:58 -0600 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2012-11-16 16:56:49 -0600 |
commit | 9add7d3000c15268a0b277aabc224c2acf86cc06 (patch) | |
tree | f637018d2705f14c41dbf20b1563b65b0bda2fea /src/main/java/net/minecraft/server/ItemFishingRod.java | |
parent | d21c5f387111ba4f1fbc3420ce8d0f9da00e32c5 (diff) | |
download | craftbukkit-9add7d3000c15268a0b277aabc224c2acf86cc06.tar craftbukkit-9add7d3000c15268a0b277aabc224c2acf86cc06.tar.gz craftbukkit-9add7d3000c15268a0b277aabc224c2acf86cc06.tar.lz craftbukkit-9add7d3000c15268a0b277aabc224c2acf86cc06.tar.xz craftbukkit-9add7d3000c15268a0b277aabc224c2acf86cc06.zip |
Don't create tile entity when block placement fails. Fixes BUKKIT-2924
End portals can only be placed in the end during the dragon's death.
Attempts to place them outside of this window causes the block to remove
itself. However, we still create the tile entity for the portal which
leads to exceptions spamming the console about a tile entity existing
without the appropriate block. In these cases we should not place the tile
entity at all.
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemFishingRod.java')
0 files changed, 0 insertions, 0 deletions