Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Add BlockTripwire and BlockTripwireHook from mc-dev for diff visibility. | Travis Watkins | 2012-08-05 | -0/+436 | |
| | |||||
* | Fire EntityDeathEvent for pigs. Fixes BUKKIT-2100 | Travis Watkins | 2012-08-05 | -3/+8 | |
| | |||||
* | Fix Vec3DPool; don't pool objects indefinitely or O(n^2) clear() | Wesley Wolfe | 2012-08-05 | -6/+10 | |
| | |||||
* | Add Vec3DPool for diff visibility | Wesley Wolfe | 2012-08-05 | -0/+53 | |
| | |||||
* | Cease execution if block is AIR. Fixes BUKKIT-2104 | Wesley Wolfe | 2012-08-05 | -6/+1 | |
| | |||||
* | Don't use Packet56 and clear client cache on world changes. | Travis Watkins | 2012-08-05 | -1/+9 | |
| | |||||
* | Fixed PlayerManager ConcurrentModificationExceptions. Fixes BUKKIT-1972 | Wesley Wolfe | 2012-08-04 | -3/+7 | |
| | |||||
* | Fix bounding box pool to use a dynamic cache size | Wesley Wolfe | 2012-08-04 | -6/+11 | |
| | | | | | Also changed insane array copy routine. This should reduce server lag spikes that occur periodically. | ||||
* | Add AABBPool for diff visibility | Wesley Wolfe | 2012-08-04 | -0/+53 | |
| | |||||
* | Don't tick chunks or entities on chunks that are queued for unload. | Travis Watkins | 2012-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-2055 | Travis Watkins | 2012-08-04 | -2/+4 | |
| | |||||
* | Fix chat not being cancellable when not using deprecated API. | Wesley Wolfe | 2012-08-04 | -5/+9 | |
| | |||||
* | Re-implement code missing from leaving the end. Fixes BUKKIT-2003 | feildmaster | 2012-08-04 | -1/+22 | |
| | |||||
* | Correctly detect invalid PistonExtension's to allow removal of ↵ | feildmaster | 2012-08-04 | -2/+2 | |
| | | | | StickyPistons. Fixes BUKKIT-2059 | ||||
* | Potentially fix chunk leaking, needs further examination | feildmaster | 2012-08-04 | -1/+1 | |
| | |||||
* | Fix PlayerBucketEmptyEvent handling. Fixes BUKKIT-2002 and fixes BUKKIT-1997 | Steve Anton | 2012-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-2064 | Wesley Wolfe | 2012-08-03 | -14/+49 | |
| | | | | | | | | | | | | | | | | | | | | | 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-2050 | Travis Watkins | 2012-08-03 | -0/+4 | |
| | |||||
* | Fix 1.3 changes that prevent nether and the_end to save level data. | feildmaster | 2012-08-03 | -1/+1 | |
| | |||||
* | [Bleeding] Fire inventory close event. Fixes BUKKIT-2036 | md_5 | 2012-08-03 | -0/+8 | |
| | |||||
* | Process entity ticks on worlds without players. Fixes BUKKIT-2031 | Mike Primm | 2012-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-2018 | Travis Watkins | 2012-08-03 | -1/+1 | |
| | |||||
* | Restore configurable connection throttle. | Travis Watkins | 2012-08-03 | -2/+13 | |
| | |||||
* | Add DedicatedServerConnectionThread from mc-dev for diff visibility. | Travis Watkins | 2012-08-03 | -0/+119 | |
| | |||||
* | Fixed translation issue breaking custom world generation. Fixes BUKKIT-1975 | EvilSeph | 2012-08-02 | -1/+1 | |
| | |||||
* | Fix dispenser event handling | Travis Watkins | 2012-08-02 | -31/+59 | |
| | |||||
* | Fix Nether and The End having the same world names. | feildmaster | 2012-08-02 | -1/+1 | |
| | |||||
* | Add missing callWorldInitEvent on startup. | feildmaster | 2012-08-02 | -0/+2 | |
| | |||||
* | Update CraftBukkit to Minecraft 1.3.1 | feildmaster | 2012-08-02 | -8942/+10428 | |
| | |||||
* | Detect and disconnect 1.3 clients properly. Fixes BUKKIT-1952 | Wesley Wolfe | 2012-07-26 | -1/+24 | |
| | |||||
* | Cleaned up CraftBukkit comments in NMS. | Wesley Wolfe | 2012-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's | Steve Anton | 2012-07-14 | -3/+6 | |
| | |||||
* | Add missing setLastDamageCause. Thanks MonsieurApple | feildmaster | 2012-07-13 | -1/+1 | |
| | |||||
* | Reuse ItemInWorldManager, and stop applying ability changes. Fixes BUKKIT-1811 | feildmaster | 2012-07-09 | -4/+1 | |
| | |||||
* | [Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166 | Mike Primm | 2012-07-08 | -1/+1 | |
| | |||||
* | Apply setLastDamageCause after processing events and the event has not been ↵ | feildmaster | 2012-07-02 | -0/+14 | |
| | | | | | | | | canceled. Fixes BUKKIT-1881 This allows previous causes to be available during the event, as well as making the damage cause a valid one. If EntityDamageEvent is canceled, then it's not the last DamageCause. Also prevents setting DamageCause involuntarily through construction. | ||||
* | Fix client crash on InventoryClick cancel. Fixes BUKKIT-1841 | H31IX | 2012-06-28 | -2/+0 | |
| | |||||
* | Mark entities as invalid when they get despawned. Addresses BUKKIT-810 | Travis Watkins | 2012-06-28 | -0/+3 | |
| | |||||
* | Fix double overflow/underflow calculations with explosions. Fixes BUKKIT-1865 | Wesley Wolfe | 2012-06-27 | -9/+18 | |
| | |||||
* | Use LinkedHashSet to make redstone update order consistent. Fixes BUKKIT-1850 | Travis Watkins | 2012-06-23 | -1/+1 | |
| | |||||
* | Trigger EntityBlockChangeEvent for Silverfish. Adds BUKKIT-1560 and BUKKIT-1593 | feildmaster | 2012-06-23 | -0/+12 | |
| | |||||
* | Added EntitySilverfish for diff visibility | feildmaster | 2012-06-23 | -0/+154 | |
| | |||||
* | Fire PlayerItemBreakEvent. Addresses BUKKIT-1600 | Travis Ralston | 2012-06-21 | -0/+6 | |
| | |||||
* | Add query-plugins setting. Addresses BUKKIT-1781 | H31IX | 2012-06-20 | -1/+1 | |
| | |||||
* | Fix Heisenplayers | Wesley Wolfe | 2012-06-17 | -2/+2 | |
| | |||||
* | Preserve whitelist ordering. Addresses BUKKIT-1805 | Jeff Wardian | 2012-06-14 | -1/+3 | |
| | |||||
* | Fire NotePlayEvent. Fixes BUKKIT-1779 | obnoxint | 2012-06-14 | -1/+8 | |
| | |||||
* | Add TileEntityNote from mc-dev for diff visibility. | obnoxint | 2012-06-14 | -0/+56 | |
| | |||||
* | Implement asynchronous pre-login event; Addresses BUKKIT-1213 | Wesley Wolfe | 2012-06-13 | -0/+7 | |
| | |||||
* | Support asynchronous events; Addresses BUKKIT-1212 | Wesley Wolfe | 2012-06-13 | -3/+5 | |
| |