summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeLines
* Implement new deprecated warning state configuration optionWesley Wolfe2012-08-06-1/+9
|
* Tripwire isn't redstone, only fire interact events.Travis Watkins2012-08-06-5/+0
|
* Don't force chunks to load again, causes chunk leaks with multiworld.Travis Watkins2012-08-06-1/+1
|
* Pistons no longer extend before they are pistons. Fixes BUKKIT-1999Wesley Wolfe2012-08-06-1/+1
|
* Fix dispenser removing data from items. Fixes BUKKIT-2045feildmaster2012-08-06-2/+3
|
* Don't rotate ShapedRecipes. Fixes BUKKIT-1334THDigi2012-08-06-4/+4
| | | | ShapedRecipe's getShape() always returns a 90deg rotated shape of the original shape, this commit fixes it.
* Fix "moved too quickly" detection.Travis Watkins2012-08-05-16/+9
|
* Fire events for tripwire and hooks.Travis Watkins2012-08-05-0/+51
|
* Add BlockTripwire and BlockTripwireHook from mc-dev for diff visibility.Travis Watkins2012-08-05-0/+436
|
* Fire EntityDeathEvent for pigs. Fixes BUKKIT-2100Travis Watkins2012-08-05-3/+8
|
* Fix Vec3DPool; don't pool objects indefinitely or O(n^2) clear()Wesley Wolfe2012-08-05-6/+10
|
* Add Vec3DPool for diff visibilityWesley Wolfe2012-08-05-0/+53
|
* Cease execution if block is AIR. Fixes BUKKIT-2104Wesley Wolfe2012-08-05-6/+1
|
* Put forceChunkLoad back to its original value.Travis Watkins2012-08-05-2/+8
|
* Don't use Packet56 and clear client cache on world changes.Travis Watkins2012-08-05-1/+9
|
* Fixed PlayerManager ConcurrentModificationExceptions. Fixes BUKKIT-1972Wesley Wolfe2012-08-04-3/+7
|
* Fix bounding box pool to use a dynamic cache sizeWesley Wolfe2012-08-04-6/+11
| | | | | Also changed insane array copy routine. This should reduce server lag spikes that occur periodically.
* Add AABBPool for diff visibilityWesley Wolfe2012-08-04-0/+53
|
* Don't tick chunks or entities on chunks that are queued for unload.Travis Watkins2012-08-04-3/+30
| | | | | Treat chunks in the unload queue as if they are already unloaded to prevent processing on them removing them from the unload queue and leaking.
* Avoid CME when lightning strikes by making a copy. Fixes BUKKIT-2055Travis Watkins2012-08-04-2/+4
|
* Fix chat not being cancellable when not using deprecated API.Wesley Wolfe2012-08-04-5/+9
|
* Re-implement code missing from leaving the end. Fixes BUKKIT-2003feildmaster2012-08-04-1/+22
|
* Correctly detect invalid PistonExtension's to allow removal of ↵feildmaster2012-08-04-2/+2
| | | | StickyPistons. Fixes BUKKIT-2059
* Potentially fix chunk leaking, needs further examinationfeildmaster2012-08-04-1/+1
|
* Fix PlayerBucketEmptyEvent handling. Fixes BUKKIT-2002 and fixes BUKKIT-1997Steve Anton2012-08-03-11/+9
| | | | | | | | | | | | | | | | | The method this.a(world, d0, d1, d2, i, j, k) is responsible for actually placing the lava or water source block in the world. The event is currently called after this method, thus canceling the event will cause the player to keep their water/lava bucket but the water/lava will still appear where they attempted to place it. In addition, the check for whether a player has creative inventory is short circuiting before the event fires, so the event will not be called for these players. This moves the event call and cancelled check above these two calls to ensure it always fires and the results of it are honored. Closes GH-835.
* Implement new AsyncPlayerChatEvent. Addresses BUKKIT-2064Wesley Wolfe2012-08-03-15/+173
| | | | | | | | | | | | | | | | | | | | | Added two utility collections for use with PlayerChatEvents allowing lazier initialization of events and less need to synchronize against the player list. Provided a hidden queue system for similar logic to pre-1.3 chat. When a plugin is listening for the deprecated PlayerChatEvent, all chat will be delayed to be mirror executed from the main thread. All developers are encouraged to immediately update to the developmental Bukkit chat API as a minimum transition for server stability. Additionally, changes were required to bring thread-safety to the flow logic. CopyOnWriteArrayList is the only viable means to produce thread safety with minimal diff; using a sane pre-implemented collection would require reworking of sections of NMS logic. As a minor change, implemented expected functionality for PlayerCommandPreProcessEvent. Setting the player should now change the player executing the command.
* Don't merge items with enchantments. Fixes BUKKIT-2050Travis Watkins2012-08-03-0/+4
|
* Fix 1.3 changes that prevent nether and the_end to save level data.feildmaster2012-08-03-1/+1
|
* [Bleeding] Fire inventory close event. Fixes BUKKIT-2036md_52012-08-03-0/+8
|
* Process entity ticks on worlds without players. Fixes BUKKIT-2031Mike Primm2012-08-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Both the CB 1.3.1 code, and vanilla 1.3.1 code, have modified the behavior of entity tick processing in a way that can lead to disabling of entity cleanup. Specifically, the tickEntities() call in n.m.s.World, which processes both the entity cleanup (removing from the world entity list) and tile entity tick processing (furnaces and such) does not get called by n.m.s.MinecraftServer's q() method (which drives tick processing calls in general) when no players are on the given world. This causes a serious memory leak when automation processes, like dynmap mapping, load and unload chunks - as entities on unloaded chunks are only cleaned up during entity tick processing. It also will cause issues with any mods that use persistent chunk loading (that is, keeping chunks loaded so that tile entities will continue being processed), since such processing will no longer function without at least one player on the given world. In any case, the tickEntities() call should be called in the same fashion as under 1.2.x (each tick, independent of player population, as opposed to being suspended indefinitely when no players are on the given world). The specific memory leak observed, with removing the unloaded entites from the world, requires this call be made regularly (or, at least, whenever the entity unload queue (world.g) is not empty. Closes GH-832
* Print short message on exception to avoid spamming console. Fixes BUKKIT-2018Travis Watkins2012-08-03-1/+1
|
* Restore configurable connection throttle.Travis Watkins2012-08-03-2/+13
|
* Add DedicatedServerConnectionThread from mc-dev for diff visibility.Travis Watkins2012-08-03-0/+119
|
* Fixed translation issue breaking custom world generation. Fixes BUKKIT-1975EvilSeph2012-08-02-1/+1
|
* Fix mapping of ChunkSection nibble data to snapshot. Fixes BUKKIT-1977Mike Primm2012-08-02-5/+5
|
* Add trailing / to BukkitDL URLs. Fixes BUKKIT-2015.Luke Granger-Brown2012-08-02-4/+13
| | | | | Also adds CraftBukkit version number to user agent when communicating with BukkitDL.
* Fix dispenser event handlingTravis Watkins2012-08-02-31/+59
|
* Fix Nether and The End having the same world names.feildmaster2012-08-02-1/+1
|
* Add missing callWorldInitEvent on startup.feildmaster2012-08-02-0/+2
|
* Add test for WorldType'sfeildmaster2012-08-02-0/+31
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-9064/+10677
|
* Detect and disconnect 1.3 clients properly. Fixes BUKKIT-1952Wesley Wolfe2012-07-26-1/+24
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-751/+491
| | | | | | | | | | | | | Added newlines at the end of files Fixed improper line endings on some files Matched start - end comments Added some missing comments for diffs Fixed syntax on some spots Minimized some diff Removed some no longer used files Added comment on some required files with no changes Fixed imports of items used once Added imports for items used more than once
* Add remaining missing setLastDamageCause'sSteve Anton2012-07-14-3/+6
|
* Add missing setLastDamageCause. Thanks MonsieurApplefeildmaster2012-07-13-1/+1
|
* Implement getExpToLevel method. Fixes BUKKIT-1906feildmaster2012-07-11-4/+4
|
* Reuse ItemInWorldManager, and stop applying ability changes. Fixes BUKKIT-1811feildmaster2012-07-09-4/+1
|
* [Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166Mike Primm2012-07-08-12/+8
|
* Factor invulnerableTicks into getNoDamageTicks. Fixes BUKKIT-1324feildmaster2012-07-04-0/+9
|
* Implement getMotd, and reload the motd. Adds BUKKIT-1799feildmaster2012-07-03-2/+7
|