Commit graph

922 commits

Author SHA1 Message Date
CraftBukkit/Spigot
c925bcb49d Refactor code to be more efficient.
By: feildmaster <admin@feildmaster.com>
2012-03-25 18:06:43 -05:00
CraftBukkit/Spigot
ade2618d1d [Bleeding] Fixed item duping in certain occasions. Fixes BUKKIT-1310
By: feildmaster <admin@feildmaster.com>
2012-03-25 17:53:59 -05:00
CraftBukkit/Spigot
11ea95ba9d [Bleeding] Fixed blocks dropping when BlockBreakEvent is canceled. Fixes BUKKIT-1299
By: feildmaster <admin@feildmaster.com>
2012-03-23 09:49:34 -05:00
CraftBukkit/Spigot
c92c764f2c Fixed incorrect assigning to isFlying when toggling setAllowedFlight(false)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-23 14:41:53 +00:00
CraftBukkit/Spigot
7d54b49e13 Seriously fix natural drops. Fixes BUKKIT-1297 and fixes BUKKIT-1295
By: feildmaster <admin@feildmaster.com>
2012-03-23 06:08:54 -05:00
CraftBukkit/Spigot
25b27ad27b Really fixed Block.breakNaturally(). Fixes BUKKIT-1295
By: EvilSeph <evilseph@gmail.com>
2012-03-23 03:06:37 -04:00
CraftBukkit/Spigot
f03c3bd1e9 Fixed Block.breakNaturally(). Fixes BUKKIT-1295
By: EvilSeph <evilseph@gmail.com>
2012-03-23 02:12:51 -04:00
CraftBukkit/Spigot
330cba4099 [Bleeding] Add a check for illegal blocks. Addresses BUKKIT-1278. Needs more investigation.
By: feildmaster <admin@feildmaster.com>
2012-03-22 19:56:59 -05:00
CraftBukkit/Spigot
6b217d17c4 Reverted to original TextWrapper. Might re-investigate after the RB. Fixes BUKKIT-1275
By: EvilSeph <evilseph@gmail.com>
2012-03-22 19:22:35 -04:00
CraftBukkit/Spigot
9aba8f4210 Re-added TextWrapper, and fixed chat length issues (at cost of it looking not so nice sometimes!) This fixes BUKKIT-1275
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 23:02:29 +00:00
CraftBukkit/Spigot
ec19b8a466 Implemented new player flight methods. This implements BUKKIT-1281. This also fixes BUKKIT-1146.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 22:04:13 +00:00
CraftBukkit/Spigot
12fff3a0e9 Added configurable Connection Throttle. Addresses BUKKIT-1274
By: EvilSeph <evilseph@gmail.com>
2012-03-22 08:03:24 -04:00
CraftBukkit/Spigot
51b68f06be Nuked TextWrapper. We don't need you anymore, old friend :(
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 20:49:05 +00:00
CraftBukkit/Spigot
7bb0a3fe51 Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 20:39:39 +00:00
CraftBukkit/Spigot
f65e901b07 [Bleeding] Added support for custom index help topics in help.yml. Addresses BUKKIT-1263
By: rmichela <deltahat@gmail.com>
2012-03-22 00:21:18 -04:00
CraftBukkit/Spigot
2fd133b50a [Bleeding] Added option to completely disable all automatic help topic generation by adding "All" to the ignore-plugins list in help.yml. Addresses BUKKIT-1264
By: rmichela <deltahat@gmail.com>
2012-03-21 23:01:06 -04:00
CraftBukkit/Spigot
2a1f1b1008 [Bleeding] Fixed a StackOverflowError with command alias handling for Help. Addresses BUKKIT-1253
By: zml2008 <zach@zachsthings.com>
2012-03-20 19:12:14 -07:00
CraftBukkit/Spigot
d434857d8a [Bleeding] Added support for all TreeType entries to CraftWorld.generateTree(). Addresses BUKKIT-1161
By: zml2008 <zach@zachsthings.com>
2012-03-13 19:38:39 -07:00
CraftBukkit/Spigot
d6e7e41468 [Bleeding] Added Ageable interface for Villagers and Animals to extend. Addresses BUKKIT-1232
By: aPunch <theapunch@yahoo.com>
2012-03-19 14:12:17 -05:00
CraftBukkit/Spigot
4e5359c080 [Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252
- Allows drops in creative mode by adding items to the getDrops() list
- Contents of containers are not reported
- Contents of storage minecarts are not reported

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-05 14:21:43 -05:00
CraftBukkit/Spigot
7e41baa24b [Bleeding] Fix the openInventory methods for custom inventories. Fixes BUKKIT-1248
Details:
- The attributes of custom inventory views are no longer ignored
- Enchanting or crafting inventories no longer ignore the passed inventory and open a new one
- Inventories associated with tile entities no longer raise a class cast exception if there was no associated tile entity
- InventoryOpenEvent and InventoryCloseEvent (if they already had some other inventory open) now fire in all cases
- If for any reason the inventory failed to open, the method now returns null instead of returned the previous inventory they had open (or the default inventory, if none)

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 13:06:21 -04:00
CraftBukkit/Spigot
5f0bee3860 [Bleeding] Fixed NullPointerException in InventoryView.setCursor() if you tried to empty the cursor by setting it to null. Fixes BUKKIT-1043
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 21:46:00 -04:00
CraftBukkit/Spigot
b350a11bc0 [Bleeding] Fix some return types that could lead to ArrayStoreException
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 10:28:20 -04:00
CraftBukkit/Spigot
1a5043d05d [Bleeding] Add Chest.getBlockInventory() for convenience; this always returns a single chest inventory. Addresses BUKKIT-1247
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-19 15:01:53 -04:00
CraftBukkit/Spigot
51074e000d [Bleeding] Add iterator() with starting index. Addresses BUKKIT-1246
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 10:37:54 -04:00
CraftBukkit/Spigot
04dd6bd9fe [Bleeding] Added way to get/set if Iron Golem was player created. Addresses BUKKIT-1229
By: aPunch <alexpuncochar@yahoo.com>
2012-03-08 20:20:15 -06:00
CraftBukkit/Spigot
e470617011 [Bleeding] Implement ExpBottleEvent; Addresses BUKKIT-888
By: Wesley Wolfe <weswolf@aol.com>
2012-03-20 02:07:13 -05:00
CraftBukkit/Spigot
e1b4d5f3ae Reverted invalid clone. Fixes BUKKIT-1198
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-16 15:46:46 -04:00
CraftBukkit/Spigot
344f7d09a2 [Bleeding] Moved HelpTopicComparator to Bukkit.jar. Addresses BUKKIT-1193
By: rmichela <deltahat@gmail.com>
2012-03-16 03:41:41 -04:00
CraftBukkit/Spigot
177d81afaf [Bleeding] Added support for color codes in help.yml. Addresses BUKKIT-1191
By: rmichela <deltahat@gmail.com>
2012-03-16 00:41:13 -04:00
CraftBukkit/Spigot
8c07dee8c8 [Bleeding] Implemented the command-topics-in-master-index option in help.yml. Addresses BUKKIT-1189
When false, help topics that start with a slash are omitted from the mater index.

By: rmichela <deltahat@gmail.com>
2012-03-15 22:32:31 -04:00
CraftBukkit/Spigot
bb5bd5c069 [Bleeding] Added automatically generated plugin-level sub-indexes to the master help index. Addresses BUKKIT-1180
By: rmichela <deltahat@gmail.com>
2012-03-15 02:28:01 -04:00
CraftBukkit/Spigot
0a4dd7c032 [Bleeding] Added option to remove entire plugins from the help index using the help.yml file. Addresses BUKKIT-1178
By: rmichela <deltahat@gmail.com>
2012-03-14 23:39:19 -04:00
CraftBukkit/Spigot
f3941a2787 [Bleeding] Allow custom inventory views to change their type to BREWING or ENCHANTING, and also allow them to change their title and size. Fixes BUKKIT-1190
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 17:33:18 -04:00
CraftBukkit/Spigot
5cb45990cc [Bleeding] Implemented Inventory.{get,set}MaxStackSize(). Addresses BUKKIT-1076
- Custom inventories also respect this setting now.

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-14 10:00:54 -04:00
CraftBukkit/Spigot
abfdfbf0e2 [Bleeding] Make InventoryView.setItem(-999, item) drop the item on the ground by default.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 22:28:27 -04:00
CraftBukkit/Spigot
6f4a370798 [Bleeding] Made ItemStack constructors not default to an amount of 0. Fixes BUKKIT-610
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 16:59:00 -04:00
CraftBukkit/Spigot
4113afbd7c [Bleeding] DoubleChestInventory.getHolder() no longer returns null. Addresses BUKKIT-995
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 16:47:43 -04:00
CraftBukkit/Spigot
5a2b483937 Fix some improper item cloning instances that would have dropped enchantments
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 20:50:36 -04:00
CraftBukkit/Spigot
a247a422c1 Fix losing enchants from stacked items in custom inventories
By: Wesley Wolfe <weswolf@aol.com>
2012-03-02 12:52:45 -06:00
CraftBukkit/Spigot
852f37abfd [Bleeding] Implemented ProjectileLaunchEvent. Addresses BUKKIT-284
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 12:45:09 -04:00
CraftBukkit/Spigot
6219bc5085 Updating minecraft-server dependency.
By: EvilSeph <evilseph@gmail.com>
2012-03-15 06:38:46 -04:00
CraftBukkit/Spigot
34c3b6022a Disabled BukkitDLUpdaterServiceTests. Nice to have, but should not be run on every compile as it relies on DLB being up. Addresses BUKKIT-1140
By: EvilSeph <evilseph@gmail.com>
2012-03-15 05:46:27 -04:00
CraftBukkit/Spigot
af07ac93b0 [Bleeding] Fixed maxStack being incorrectly set to 0 in custom craft inventories. Fixes BUKKIT-1181
By: md_5 <md_5@bigpond.com>
2012-03-15 17:55:19 +11:00
CraftBukkit/Spigot
26325dfa92 Fixed EntityDamageByEntityEvent to call for every attackable entity. Fixes BUKKIT-1129, Fixes BUKKIT-1054 and Fixes BUKKIT-147.
By: feildmaster <admin@feildmaster.com>
2012-03-12 17:55:02 -05:00
CraftBukkit/Spigot
4f37e35665 [Bleeding] Call a LAVA BlockIgniteEvent in another place in BlockStationary. Fixes BUKKIT-970
Also adds CraftEventFactory.callEvent(Event), which returns the event called. Currently only used for n.m.s.BlockStationary's lava
BlockIgniteEvent calls.

By: zml2008 <zach@zachsthings.com>
2012-03-10 21:56:55 -08:00
CraftBukkit/Spigot
67f275fc78 Implemented Enchantment.conflictsWith(). Addresses BUKKIT-1159
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 15:32:46 -04:00
CraftBukkit/Spigot
70900406c9 [Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 10:55:00 -04:00
CraftBukkit/Spigot
cad4f85021 [Bleeding] Added EntityBreakDoorEvent. Fixes BUKKIT-1134
By: feildmaster <admin@feildmaster.com>
2012-03-10 18:43:35 -06:00
CraftBukkit/Spigot
9421839d6d Updated version to 1.2.3-R0.3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-11 06:20:53 -04:00