Commit graph

1000 commits

Author SHA1 Message Date
CraftBukkit/Spigot
deb6c53960 Revert "Fix potential NPE in vanish API. Fixes BUKKIT-1541"
This reverts commit ebf121800bd3161e4af0f6d9229ccb39c31fc278.

If the handle ever becomes null we need to know about it so we can debug it further.

By: feildmaster <admin@feildmaster.com>
2012-04-27 12:48:40 -05:00
CraftBukkit/Spigot
b8fdda282e Remove Player cache and edit CraftPlayer.equals to account for EntityID. Fixes BUKKIT-1541 and Addresses BUKKIT-761
By: feildmaster <admin@feildmaster.com>
2012-04-21 18:02:25 -05:00
CraftBukkit/Spigot
3aca35a701 Updated version to 1.2.5-R1.3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-04-25 00:58:32 -04:00
CraftBukkit/Spigot
ad79effe24 Updated version to 1.2.5-R1.2 in pom.xml for Beta.
By: EvilSeph <evilseph@gmail.com>
2012-04-24 23:41:11 -04:00
CraftBukkit/Spigot
a208a4f9e3 Update players when potion effects are moved from them. Fixes BUKKIT-789
By: Travis Watkins <amaranth@ubuntu.com>
2012-04-24 18:59:55 -05:00
CraftBukkit/Spigot
ff8b2d38f9 Fix potential NPE in vanish API. Fixes BUKKIT-1541
By: Travis Watkins <amaranth@ubuntu.com>
2012-04-24 12:25:07 -05:00
CraftBukkit/Spigot
529ff54e26 Remove legacy Chunk cache. Fixes BUKKIT-1400
By: feildmaster <admin@feildmaster.com>
2012-04-24 13:30:55 -05:00
CraftBukkit/Spigot
bdccfb5797 We build for Java 1.5.
By: EvilSeph <evilseph@gmail.com>
2012-04-23 23:05:57 -04:00
CraftBukkit/Spigot
02fa535888 Add per-world spawn limits with fallback to server-wide bukkit.yml settings.
Fixes BUKKIT-1565

By: Travis Watkins <amaranth@ubuntu.com>
2012-04-23 19:01:22 -05:00
CraftBukkit/Spigot
f977f3cc65 Avoid doing unnecessary range checks when we're looping from start to end.
Make EntityLiving call AI logic every tick again.
Rework PathfinderGoalSelector logic.

Adds UnsafeList for use in places where we use ArrayList and know we won't
get index out of range errors. Added usage to World's tickEntities, Chunk's
entitySlices to speed up searching for entities, and to PathfinderGoalSelector
to speed up dealing with AI goals.

Reworked logic in PathfinderGoalSelector with help from fullwall. This code
no longer uses an extra ArrayList for setting up goals and only updates which
goals should be run every other time it is called.

Removed only calling PathfinderGoalSelector every other tick from EntityLiving
as we now only setup new goals every other tick. This ensures existing goals
run every tick to properly update mob movement.

By: Travis Watkins <amaranth@ubuntu.com>
2012-04-23 09:47:05 -05:00
CraftBukkit/Spigot
db27daeea7 Made permissions.yml registration easier; Addresses BUKKIT-1499
The permissions.yml now behaves similar to a plugin.yml

By: Wesley Wolfe <weswolf@aol.com>
2012-04-15 13:24:38 -05:00
CraftBukkit/Spigot
66b34af562 Properly call EntityDeathEvent for mobs. Fixes BUKKIT-1519
By: feildmaster <admin@feildmaster.com>
2012-04-15 09:16:43 -05:00
CraftBukkit/Spigot
37d14787d9 Persist PlayerDeathEvent values. Fixes BUKKIT-1521
By: feildmaster <admin@feildmaster.com>
2012-04-14 00:24:51 -05:00
CraftBukkit/Spigot
2ad2eb6b34 Updated version to 1.2.5-R1.2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-04-08 23:54:35 -04:00
CraftBukkit/Spigot
b8ccdebd18 Updated version to 1.2.5-R1.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-04-05 07:12:30 -04:00
CraftBukkit/Spigot
cbba56d1eb Updated version to 1.2.5-R1.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-04-04 10:01:03 -04:00
CraftBukkit/Spigot
9f199add72 Updated version to 1.2.5-R0.2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-04-03 10:15:11 -04:00
CraftBukkit/Spigot
8486eddf25 Updated version to 1.2.5-R0.1 in pom.xml for beta.
By: EvilSeph <evilseph@gmail.com>
2012-04-03 05:43:00 -04:00
CraftBukkit/Spigot
eabee56243 SpawnRadius should only apply to main world. Fixes BUKKIT-1427
By: feildmaster <admin@feildmaster.com>
2012-04-02 16:40:45 -05:00
CraftBukkit/Spigot
ee87f28221 Add BlockRedstoneEvent to Redstone Lamps, Addresses BUKKIT-1431
By: feildmaster <admin@feildmaster.com>
2012-04-02 09:01:48 -05:00
CraftBukkit/Spigot
495ebd7020 Fixed interacting with Air returning a false block.
By: feildmaster <admin@feildmaster.com>
2012-04-01 04:58:11 -05:00
CraftBukkit/Spigot
6ab777a338 Fixed breaking at world height in creative. Fixes BUKKIT-997
By: feildmaster <admin@feildmaster.com>
2012-03-31 18:59:14 -05:00
CraftBukkit/Spigot
bd3ae06ade Updated version to 1.2.5-R0.1-SNAPSHOT
By: Dinnerbone (Laptop) <dinnerbone@dinnerbone.com>
2012-03-30 23:33:51 +02:00
CraftBukkit/Spigot
66f67ca425 Updated version to 1.2.4-R1.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-29 07:58:14 -04:00
CraftBukkit/Spigot
b508266065 Updated version to 1.2.4-R1.0 for release.
By: EvilSeph <evilseph@gmail.com>
2012-03-28 20:27:53 -04:00
CraftBukkit/Spigot
33284b8b86 Reverting the Drop API for now, we need to re-evalute this as it is causing too many issues and blocking releases.
This reverts commits:
- d2d03afc8854394aeefb40ea5ebf224c8032b19f
- 6245746e91123dd8ef70e5f15b7cdfc7e36d8e8c
- 41fae5c613e9e69a8f6bdf33b23bb09d7f407433
- c34bdecab42cf4098054a5ea43e1c2958d44ae92
- d7445084ac9a90fa0b66d8b050b8d0d2a062eaf3
- 6a6ed2e6ae2328a8a791bcc6857c44dc6c6a7030
- a783bc4dc95da8e26c673abe48fad96b550aba28
- cb50fd68766df8e07631ba5be85759f8257e8068
- 34dfff2ad5c407c712b2783f02960aac5e8649f2
- f33b513820de987b49a4338e85df80968217a601
- 5fd9fdfde055e6eb6a83db246d009b69377b7c94
- 2795b116f40d06551fbb7b96d1963c0ddbeac384

By: Warren Loo <evilseph@gmail.com>
2012-03-27 11:37:00 -04:00
CraftBukkit/Spigot
0ebe730fce [Bleeding] Allow CraftItem to be backed by non-EntityItems. Fixes BUKKIT-1351
By: feildmaster <admin@feildmaster.com>
2012-03-25 20:58:12 -05:00
CraftBukkit/Spigot
ae4b2591f7 [Bleeding] Fixed potions throwing double events. Fixes BUKKIT-1332
By: feildmaster <admin@feildmaster.com>
2012-03-25 04:21:25 -05:00
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