Brettflan
2f2bc28915
Fixes placement cancellation of single-step blocks, such as in protected areas like the spawn area.
...
The first line edited fixes it so other blocks placed on a single-step block aren't considered (only single-step blocks), and so that they're only considered when placed on the top face of the existing single-step block.
The second section of changed code keeps the final world.setTypeIdAndData() call from being incorrectly applied if it was indeed a single-block placed on an existing single-block.
Best way to test before and after is to put a bunch of single-step blocks in the spawn area as an Op, then de-Op yourself and try placing more blocks (single-step and otherwise, for example I also tested dirt blocks) on the sides and tops of the ones which you previously added as an Op.
2011-02-03 22:07:34 +01:00
Erik Broes
04be2b9b31
Generic cleanup/reformat.
2011-02-02 00:39:08 +01:00
Erik Broes
df69047324
Port to new mc-dev format.
2011-01-30 13:24:39 +01:00
VictorD
3477a86995
Added getBlockReplacedState to BlockPlaceEvent, in case one wants to see what type of block was there previously.
2011-01-24 23:22:28 +01:00
Andrew Ardill
a809e4e6e3
removed all instances of new CraftEntity* where appropriate.
...
Entity.getBukkitEntity() is now used instead.
2011-01-23 23:23:13 +11:00
Erik Broes
e0b04001aa
Fixed placement of blocks with meta-data. (Dyed wool, logs etc)
2011-01-22 23:20:07 +01:00
Dean Bailey
bf9d55d9ed
Simple fix for minecart tracks not curving as expected following commit baff42c4d3
2011-01-22 09:03:22 +08:00
Dinnerbone
45381e17dc
Fixed half-step placing
2011-01-20 02:13:51 +00:00
FeepingCreature
2c5dd11c62
Cleared up spawn distance calculation.
2011-01-20 08:58:08 +08:00
Dinnerbone
4d1c1fe5ed
Moved org.bukkit.craftbukkit.Block to org.bukkit.craftbukkit.block.Block
2011-01-15 21:40:18 +00:00
Dinnerbone
0db8d5d111
Moved block stuff from org.bukkit to org.bukkit.block
2011-01-15 21:36:57 +00:00
Dinnerbone
2fe673741c
All inventory stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.inventory
2011-01-15 21:29:17 +00:00
Dinnerbone
9150e8d85d
All entity stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.entity
2011-01-15 21:24:07 +00:00
Erik Broes
8c8f53fd44
Events should be present tense, not paste tense.
2011-01-15 21:26:52 +01:00
Dinnerbone
80707c0a23
Various fixes; boats, minecarts, musicblocks
2011-01-14 21:22:14 +00:00
Dinnerbone
5cb6edd5a9
Really fixed block placement... Really.
2011-01-14 20:27:11 +00:00
Dinnerbone
202e44ab1a
Fixed blocks not keeping data on placement
2011-01-14 19:44:11 +00:00
Dinnerbone
2761b59845
Update to Minecraft Server 1.2
2011-01-14 13:31:10 +00:00
Erik Broes
22dab8e985
Updated against new mc-dev format, takes out quite some casting troubles at the cost of extra ()'s
2011-01-11 09:27:35 +01:00
durron597
fab66092e2
Fixed lack of calling callEvent(event), finished Item Use
2011-01-08 06:18:05 -05:00
durron597
65c8df24b6
Partial Player Item, Block RightClick, Block Place
2011-01-08 05:50:35 -05:00