Commit graph

1924 commits

Author SHA1 Message Date
Erik Broes
be10e54235 Fixed NPE on missing kick-reason - http://redmine.bukkit.org/issues/359 2011-02-04 23:02:52 +01:00
VictorD
059d23b4c9 Half-step placement bug fix, all credits to Brettflan 2011-02-03 22:34:22 +01:00
VictorD
3a19f9e429 Merge branch 'master' of github.com:Bukkit/CraftBukkit 2011-02-03 22:33:40 +01:00
Warren
058ac34300 Added brief coding conventions - these may not be complete. 2011-02-03 13:15:38 -08:00
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
Warren
dde3f5b474 Removed tab on line 97. 2011-02-03 12:57:17 -08:00
Limb
e77b080d83 Implemented Inventory.contains with a minimum amount of item required. As per feature request #187 2011-02-04 04:04:16 +08:00
Dinnerbone
c1c61b73c9 Totally useless commit to satisfy lukegb's outrageous demands 2011-02-02 18:23:19 +00:00
Erik Broes
04be2b9b31 Generic cleanup/reformat. 2011-02-02 00:39:08 +01:00
Erik Broes
001a45804e Clean vehicle code. 2011-02-02 00:29:37 +01:00
Erik Broes
1dac92a766 Update chunk handling. 2011-02-02 00:29:37 +01:00
Dinnerbone
21b8ef4435 Added CraftNoteBlock.play 2011-02-01 23:18:25 +00:00
Dinnerbone
e0416ca7fb Added CraftDispenser.dispense() 2011-02-01 23:18:11 +00:00
Forsaken
d228e0c311 Fixed the onDisable() event of plugins again after it was overwritten some days ago. 2011-02-02 06:12:35 +08:00
Dinnerbone
661f209b7e Fixed dispenser 2011-02-01 22:01:37 +00:00
Dinnerbone
f8cdbe1d82 Fixed tabs 2011-02-01 21:55:30 +00:00
Luke GB
3a3a0e6169 Introduce better versioning system, mark 2. 2011-02-01 21:48:21 +00:00
Tyler
eea070ed85 Dispensers now obey BLOCK_INTERACT 2011-02-02 05:29:12 +08:00
Erik Broes
5c467e941b Actually implement the spiral stuff now, oops 2011-02-01 21:40:52 +01:00
Erik Broes
a3fbada1e8 Chunkloading around player now happens in a spiral! No more floating over the void waiting for the floor to load! 2011-02-01 20:26:47 +01:00
Dinnerbone
21b8c16886 Commands can be sent from the console (WIP, needs improvements) 2011-02-01 18:13:12 +00:00
Dinnerbone
657913faeb Dinner time! 2011-02-01 14:53:39 +00:00
Dinnerbone
923ab54e38 Don't hate me :( 2011-02-01 11:43:31 +00:00
Dinnerbone
743ff05b2e Added setItemStack(ItemStack stack) to CraftItemDrop 2011-02-01 10:43:16 +00:00
Dinnerbone
24f140d1f4 Implemented VEHICLE_UPDATE 2011-02-01 10:20:18 +00:00
Dinnerbone
2b0ab5a130 Fixed VEHICLE_MOVE 2011-02-01 10:14:59 +00:00
Dinnerbone
408ed37a01 Implemented VEHICLE_EXIT 2011-02-01 10:02:43 +00:00
Dinnerbone
6f13c9dc55 Implemented VEHICLE_COLLISION_BLOCK 2011-01-31 22:25:27 +00:00
Dinnerbone
82febb3887 ENTITY_DAMAGED now knows hot from wet 2011-01-31 21:50:28 +00:00
Dinnerbone
c2fdd5cadd Implemented PLAYER_ITEM_HELD 2011-01-31 01:35:29 +00:00
Dinnerbone
7369ef7300 Implemented getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity 2011-01-31 01:23:10 +00:00
Dinnerbone
c75e53935f Renamed ItemStack.set/getDamage to durability, which is now a short 2011-01-31 01:07:38 +00:00
Dinnerbone
0dd9e4873d Fixed BLOCK_DAMAGED 2011-01-31 00:02:47 +00:00
Dinnerbone
1c9e7f9aee toString! 2011-01-30 22:02:23 +00:00
sk89q
639d3e3f94 Added support for different tree generation types and a callback. 2011-01-30 13:54:43 -08:00
Dinnerbone
1bc9c54233 Implemented ENTITY_DEATH for players 2011-01-30 20:35:08 +00:00
Taylor Kelly
35aac12235 Re-add BlockBurnEvent 2011-01-30 15:30:30 -05:00
Dinnerbone
914688e2a0 Implemented ENTITY_DEATH for monsters and animals 2011-01-30 20:22:09 +00:00
stevenh
0bc5bd54bd Fixed missing PLAYER_JOIN event call 2011-01-30 19:42:39 +00:00
Erik Broes
6c60b54fdf Optimized blockCache, now only stores blocks asked for 2011-01-30 20:19:56 +01:00
Erik Broes
da00e2e3a9 Fixed rogue chmods 2011-01-30 20:18:15 +01:00
Erik Broes
b2a0c5a2ae Reworked getEntity; Hi instanceof, bay 16 classes 2011-01-30 16:15:24 +01:00
VictorD
75ba9a0f25 Fixed initialization of CraftServer 2011-01-30 13:51:20 +01:00
Erik Broes
0582ac7693 Updated pom to reference 'second patched version' of the server. 2011-01-30 13:38:07 +01:00
Erik Broes
df69047324 Port to new mc-dev format. 2011-01-30 13:24:39 +01:00
sk89q
d0cd8c6cc7 Fixed drowning damage event. 2011-01-30 01:26:45 -08:00
stevenh
d92376e106 Merge branch 'master' of github.com:Bukkit/CraftBukkit 2011-01-29 21:04:16 +00:00
stevenh
4301a76b31 Updated commands to use CommandSender instead of Player 2011-01-29 21:04:02 +00:00
sk89q
8fdd45ab40 Fixed an issue where fire spread cancellation changed the behavior of natural fire. 2011-01-28 11:39:45 -08:00
sk89q
0daa2420da Fixed fire spread hook providing the wrong block. 2011-01-28 11:39:18 -08:00