summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/NetServerHandler.java
Commit message (Collapse)AuthorAgeLines
* Update tile entity on client on cancelled block break. Fixes BUKKIT-2935Travis Watkins2012-11-14-1/+6
| | | | | | | | When a client tries to break a block it assumes it has done so unless told otherwise by the server. This means the client also wipes out any tile entity data it has for the block as well. We do not send this data when updating the client so clients lose things like text on signs, skull type, etc when they aren't allowed to break the block.
* Update CraftBukkit to Minecraft 1.4.4.Travis Watkins2012-11-13-37/+36
|
* These books are too powerful!EvilSeph2012-10-28-1/+1
|
* Don't pass vanilla plugin channels to plugins. Fixes BUKKIT-2638Travis Watkins2012-10-27-23/+22
| | | | | | | | Vanilla has its own handlers for plugin channel messages for things like texture packs, books, and anvils. When vanilla handles one of these messages we should not also pass it to plugins because they will be duplicating work and potentially running in to situations our plugin system isn't setup to handle. This is how 1.3.2 worked but was lost in the 1.4.2 update.
* Update CraftBukkit to Minecraft 1.4(.2).Travis Watkins2012-10-27-35/+95
|
* Made books less powerful, though you should still read them!EvilSeph2012-10-27-1/+5
|
* Queue tasks from secondary threads. Fixes BUKKIT-2546 and BUKKIT-2600Wesley Wolfe2012-10-14-3/+38
| | | | | | | | | | | | | | | | | | | | | This change affects the old chat compatibility layer from an implementation only standpoint. It does not queue the 'event' to fire, but rather queues a runnable that allows the calling thread to wait for execution to finish. The other effect of this change is that rcon connects now have their commands queued to be run on next server tick using the same implementation. The internal implementation is in org.bukkit.craftbukkit.util.Waitable. It is very similar to a Future<T> task, but only contains minimal implementation with object.wait() and object.notify() calls under the hood of waitable.get() and waitable.run(). PlayerPreLoginEvent now properly implements thread-safe event execution by queuing the events similar to chat and rcon. This is still a poor way albeit proper way to implement thread-safety; PlayerPreLoginEvent will stay deprecated.
* CraftBukkit comment fixesWesley Wolfe2012-09-14-1/+1
|
* Bulk pending cleanup.Wesley Wolfe2012-09-09-12/+5
|
* Fix crash from console-commands throwing exception. Fixes BUKKIT-2479Wesley Wolfe2012-09-06-1/+8
| | | | | | When 1.3.1 was released, a try-catch block was removed from the tick loop that called the method in NMS to handle commands. This restores a try-catch to prevent the console from crashing the server.
* Update to 1.3.2Travis Watkins2012-08-25-7/+6
|
* Fix instances where Signs have null lines. Addresses BUKKIT-684V10lator2012-08-21-0/+3
|
* Fix "moved too quickly" detection.Travis Watkins2012-08-05-8/+7
|
* 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
|
* Implement new AsyncPlayerChatEvent. Addresses BUKKIT-2064Wesley Wolfe2012-08-03-13/+24
| | | | | | | | | | | | | | | | | | | | | 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.
* [Bleeding] Fire inventory close event. Fixes BUKKIT-2036md_52012-08-03-0/+8
|
* Update CraftBukkit to Minecraft 1.3.1feildmaster2012-08-02-189/+262
|
* Cleaned up CraftBukkit comments in NMS.Wesley Wolfe2012-07-23-29/+17
| | | | | | | | | | | | | 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
* Fix client crash on InventoryClick cancel. Fixes BUKKIT-1841H31IX2012-06-28-2/+0
|
* Don't send kick message if the message is empty. Fixes BUKKIT-1789Jake King2012-06-13-1/+1
|
* Fire PlayerToggleFlightEvent. Fixes BUKKIT-1696H31IX2012-06-13-1/+13
|
* Add fallback for when jline fails to initialize. Fixes BUKKIT-1675.Travis Watkins2012-05-23-0/+1
|
* Check if packet is null before checking priority. Fixes BUKKIT-1579Travis Watkins2012-04-25-1/+1
|
* Check abilities instead of mode for allow flight check. Fixes BUKKIT-1302Travis Watkins2012-03-25-1/+1
|
* Reverted to original TextWrapper. Might re-investigate after the RB. Fixes ↵EvilSeph2012-03-22-6/+1
| | | | BUKKIT-1275
* Re-added TextWrapper, and fixed chat length issues (at cost of it looking ↵Nathan Adams2012-03-22-1/+7
| | | | not so nice sometimes!) This fixes BUKKIT-1275
* Removed temporary hackish fix for the entity interactivity issues, fixed ↵EvilSeph2012-03-22-86/+0
| | | | properly in MC1.2.4.
* Nuked TextWrapper. We don't need you anymore, old friend :(Nathan Adams2012-03-22-4/+1
|
* Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.Nathan Adams2012-03-22-4/+7
|
* Kick for invalid carried item.EvilSeph2012-03-22-0/+1
|
* [Bleeding] Only fire CraftItemEvent if there's actually an item there to ↵Celtic Minstrel2012-03-20-6/+9
| | | | craft (ie, don't fire it for a click on an empty result slot). Fixes BUKKIT-1250
* [Bleeding] Check top inventory type when determining whether a click event ↵Celtic Minstrel2012-03-15-2/+2
| | | | | | is a craft event. Fixes BUKKIT-1112 - Credit to Taufiq Hoven for locating the root cause of the issue.
* Made PlayerInteractEvent fire for digging within spawn for informational ↵EvilSeph2012-03-13-0/+1
| | | | purposes only. Fixes BUKKIT-1086
* Made entering an end portal from The End move the player to their bed spawn ↵EvilSeph2012-03-10-4/+12
| | | | if it exists. Fixes BUKKIT-1061
* Made PlayerPortalEvent fire when leaving The End. Fixes BUKKIT-478EvilSeph2012-03-08-2/+10
|
* Extremely hackish fix for the entity interactivity issue. Fixes BUKKIT-960EvilSeph2012-03-07-1/+87
|
* Updated CraftBukkit to 1.2Nathan Adams2012-03-01-61/+92
|
* [Bleeding] Added Conversations API. Addresses BUKKIT-864rmichela2012-03-01-1/+11
|
* Updated to rename revision 02Erik Broes2012-03-01-45/+57
|
* [Bleeding] Implementation of inventory framework. Addresses BUKKIT-856Celtic Minstrel2012-02-29-13/+106
| | | | | | | | | | | | See the corresponding Bukkit commit for details. Implementation details: - Any packets that include an itemstack will send air stacks as null; maybe this will even eliminate the client crash that occurs if the client receives an air stack - Better handling of null itemstacks in general (ie less converting them to air stacks) - Inventory.setContents() can now take an array smaller than the inventory without error - Player.updateInventory() should now correctly update the result slot in a crafting inventory Some small credit goes to Afforess (initial implementation of openInventory() methods) and Drakia (initial implementation of InventoryOpenEvent and InventoryCloseEvent).
* Fixed changes made to PlayerCommandPreprocess events having no effect. Fixes ↵EvilSeph2012-02-25-2/+2
| | | | BUKKIT-376
* Fixed sprinting while breaking a painting edge case. Fixes BUKKIT-740EvilSeph2012-02-13-0/+7
|
* Use OO > new methodErik Broes2012-01-29-1/+1
|
* Disallow people spawning invalid entities using monster eggs. Thanks to md-5 ↵Nathan Adams2012-01-15-2/+5
| | | | for the PR.
* Fix formatting.Erik Broes2012-01-15-1/+2
|
* Update for 1.1_01 renames.Erik Broes2012-01-15-34/+34
| | | | | We know these updates (can) break plugins bypassing Bukkit. They are needed for smooth updates however. There will be another one right before before 1.1-R1.
* Don't allow players with modded clients to send empty (0 char) chat ↵Nathan Adams2012-01-15-0/+5
| | | | messages. Thanks to a PR by robin0van0der0v
* Fixed a further exploit with players attacking more things that they shouldn't.Nathan Adams2012-01-14-3/+4
|
* Fixed players attempting to attack item entities - This fixes BUKKIT-341Nathan Adams2012-01-14-2/+7
|