Commit graph

696 commits

Author SHA1 Message Date
Spigot
85c311cb99 Minor code cleanup to snapshot protocol - nothing functional
By: md_5 <md_5@live.com.au>
2013-07-08 21:27:56 +10:00
Spigot
3c66f908cb Add missing packet
By: md_5 <md_5@live.com.au>
2013-07-08 21:19:55 +10:00
Spigot
2508f3429e 1.6.2 Protocol Support Enabled by Default
By: md_5 <md_5@live.com.au>
2013-07-08 21:17:32 +10:00
Spigot
df5b7c29c8 Add InventoryClickEvent.getClickedInventory. Adds BUKKIT-4495
Plugins currently have to do the logic themselves on the raw slot ID
in order to determine the inventory clicked. This provides the logic for plugins to
readily identify which inventory was clicked.

By: Aikar <aikar@aikar.co>
2013-07-08 14:59:17 +10:00
Spigot
502135fc95 Add 1.6 Potion Effects. Thanks @bloodsplat for pointing this out.
By: md_5 <md_5@live.com.au>
2013-07-08 12:37:44 +10:00
Spigot
e782a92b06 Always call dismount events regardless of Vehicle or not
By: md_5 <md_5@live.com.au>
2013-07-08 09:21:54 +10:00
Spigot
9cf9dc4d30 Keep CraftServer init early, but make plugins load at approx the same time they do in CraftBukkit - thanks @aadnk for wanting this
By: md_5 <md_5@live.com.au>
2013-07-07 09:33:34 +10:00
Spigot
1734cc8ec7 Replace MessageList with list, see if we can catch issues.
By: md_5 <md_5@live.com.au>
2013-07-07 09:05:04 +10:00
Spigot
77a3e89d68 Ensure packet hooks are called sync - thanks @aadnk for pointing this out
By: md_5 <md_5@live.com.au>
2013-07-07 09:02:13 +10:00
Spigot
6441fc89e8 Did someone say console command completion? These commits were authored by @quickwango and come from Bukkit/Bukkit#868 and Bukkit/CraftBukkit#1151
By: md_5 <md_5@live.com.au>
2013-07-06 09:40:00 +10:00
Spigot
6c4bd965ba Add my "fix" for EntityPersistance, I do believe that removing this check is incorrect and the result of a slight hiccup by Bukkit.
By: md_5 <md_5@live.com.au>
2013-07-05 21:56:07 +10:00
Spigot
b9aad00c71 Add Type Safety checks for............. sanity....?
By: md_5 <md_5@live.com.au>
2013-07-05 13:19:45 +10:00
Spigot
411b35d74f Pull a series of CraftBukkit patches - see below for summary and credits:
Bukkit/CraftBukkit#1145 : @Zarius : Don't fire piston extend event twice
Bukkit/CraftBukkit#1174 : @millerkil : Prevent plugins causing ghost players
Bukkit/CraftBukkit#1177 : @jb-aero : Properly set ambient flag for potion effects

By: md_5 <md_5@live.com.au>
2013-07-05 12:17:22 +10:00
Spigot
9daea9f63d Properly Consume Bonemeal in Dispensers
Don't consume bonemeal if there is no crop in front. Fixes BUKKIT-3790
Pulls Bukkit/CraftBukkit#1172

By: Alex Ciuba <alexciuba@gmail.com>
2013-07-05 12:07:22 +10:00
Spigot
1f0a93e368 Create CraftHorse Instance for EntityHorse
Handle creating instance of CraftHorse for EntityHorse instances and spawn()
Pulls Bukkit/CraftBukkit#1185

By: Mike Primm <mike@primmhome.com>
2013-07-05 12:04:50 +10:00
Spigot
ad4baa543b Update upstream versions!
By: md_5 <md_5@live.com.au>
2013-07-05 10:45:18 +10:00
Spigot
35fa397ba3 Prevent crash on dismount, thanks Salaman for the report!
By: md_5 <md_5@live.com.au>
2013-07-05 10:44:38 +10:00
Spigot
59bb5a39c3 Include only the bits of netty we need
By: md_5 <md_5@live.com.au>
2013-07-04 20:14:10 +10:00
Spigot
8bdeaf2c08 Update Depends
- All of these changes have been reviewed to be binary compatible and in general contract compatible with previous versions of the libraries.

By: md_5 <md_5@live.com.au>
2013-07-04 20:05:41 +10:00
Spigot
51df8e624c Netty CR9
By: md_5 <md_5@live.com.au>
2013-07-04 19:58:09 +10:00
Spigot
be5b8f1b77 Switch index length check around to prevent crashes
By: md_5 <md_5@live.com.au>
2013-07-04 12:09:15 +10:00
Spigot
94a6f8f598 Wouldn't it be nice if the console was coloured - actually colour console messages instead of just leaving colour codes.
By: md_5 <md_5@live.com.au>
2013-07-04 10:12:26 +10:00
Spigot
174cefac9f Automatically update upstream versions. Bukkit-1.5.2-R1.0-3-gdd74512, CraftBukkit-1.5.2-R1.0-16-g1d933a4
By: SpigotMC <no-reply@spigotmc.org>
2013-07-03 04:57:05 -04:00
Spigot
40c52d3f76 Fix merge conflict from upstream change
By: Ammar Askar <ammar@ammaraskar.com>
2013-07-03 11:40:24 +05:00
Spigot
847d038fab Automatically update upstream versions. Bukkit-1.5.2-R1.0-3-gdd74512, CraftBukkit-1.5.2-R1.0-15-gc8c28f4
By: SpigotMC <no-reply@spigotmc.org>
2013-07-03 02:22:08 -04:00
Spigot
f723675e2c Minor semantics fix
By: Ammar Askar <ammar@ammaraskar.com>
2013-07-03 10:06:27 +05:00
Spigot
7d6276b09c Automatically update upstream versions. Bukkit-1.5.2-R1.0-2-g1343ffa, CraftBukkit-1.5.2-R1.0-15-gc8c28f4
By: SpigotMC <no-reply@spigotmc.org>
2013-07-03 00:47:05 -04:00
Spigot
70bd8275d1 Update again - git isn't as smart as he looks
By: md_5 <md_5@live.com.au>
2013-07-03 14:16:28 +10:00
Spigot
bbcec2f9af Automatically update upstream versions. Bukkit-1.5.2-R1.0-2-g1343ffa, CraftBukkit-1.5.2-R1.0-14-g1f4e647
By: SpigotMC <no-reply@spigotmc.org>
2013-07-03 00:12:05 -04:00
Spigot
336612e0a4 Update to latest upstream
By: md_5 <md_5@live.com.au>
2013-07-03 14:05:15 +10:00
Spigot
6a3aa94b19 Automatically update upstream versions. Bukkit-1.5.2-R1.0-2-g1343ffa, CraftBukkit-1.5.2-R1.0-13-ge6f6bf6
By: SpigotMC <no-reply@spigotmc.org>
2013-07-02 23:57:04 -04:00
Spigot
8e135b241e Automatically update upstream versions. Bukkit-1.5.2-R1.0-2-g1343ffa, CraftBukkit-1.5.2-R1.0-10-g38798e8
By: SpigotMC <no-reply@spigotmc.org>
2013-07-02 22:07:07 -04:00
Spigot
fcf3ea228d Close Horse Inventory on Disconnect
By: md_5 <md_5@live.com.au>
2013-07-03 08:33:49 +10:00
Spigot
c28530c793 Close horse inventory on logoff to prevent dupe
By: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
2013-07-02 19:00:39 +01:00
Spigot
7406cbf2d1 Update to latest CraftBukkit - is this more patches without credit I see?
By: md_5 <md_5@live.com.au>
2013-07-03 08:27:18 +10:00
Spigot
69124c521a Automatically update upstream versions. Bukkit-1.5.2-R1.0-2-g1343ffa, CraftBukkit-1.5.2-R1.0-8-g35b5f2d
By: SpigotMC <no-reply@spigotmc.org>
2013-07-02 17:01:14 -04:00
Spigot
c5dc4b3c37 Automatically update upstream versions. Bukkit-1.5.2-R1.0-2-g1343ffa, CraftBukkit-1.5.2-R1.0-6-g80f85bc
By: SpigotMC <no-reply@spigotmc.org>
2013-07-02 15:21:15 -04:00
Spigot
115c9744bf Add Entity Mount and Dismount Events - very useful for horses! Thanks @lazertester for the idea!
By: md_5 <md_5@live.com.au>
2013-07-02 20:33:10 +10:00
Spigot
64c5ae2318 [CraftBukkit] Use correct variable when migrating world so as not to screw up rcon and getServerIP
By: md_5 <md_5@live.com.au>
2013-07-02 20:11:09 +10:00
Spigot
88f233b051 Prevent buffer from being freed prematurely or twice.
By: md_5 <md_5@live.com.au>
2013-07-02 17:31:00 +10:00
Spigot
6c0ee1b137 Netty errors? What errors? I see no errors.....
By: md_5 <md_5@live.com.au>
2013-07-02 15:33:58 +10:00
Spigot
1c7edc028b Update to netty CR8
By: md_5 <md_5@live.com.au>
2013-07-02 15:31:49 +10:00
Spigot
ed4ce21f3a Fix 1.5 pinging the server - its a bit hacky, but it works!
By: md_5 <md_5@live.com.au>
2013-07-02 15:27:31 +10:00
Spigot
d24f41e9d3 Fix /reload not functioning - thanks AlexM850 for the report.
By: md_5 <md_5@live.com.au>
2013-07-02 15:14:02 +10:00
Spigot
f428695f33 Clean nibble arrays patch Packet51 to fix crash bug mentioned by Drumming102 on IRC.
By: md_5 <md_5@live.com.au>
2013-07-02 15:12:49 +10:00
Spigot
5a1dfe6323 Return of the Netty... dun dun dun
By: md_5 <md_5@live.com.au>
2013-07-02 15:06:15 +10:00
Spigot
451dce0305 Disable netty always - it will be fixed ASAP
By: md_5 <md_5@live.com.au>
2013-07-02 14:30:13 +10:00
Spigot
4a71519c50 Fix CraftBukkit bug - Actually Use Results of PingEvent
By: md_5 <md_5@live.com.au>
2013-07-02 14:29:18 +10:00
Spigot
5d7f6b973e Update to latest CraftBukkit
By: md_5 <md_5@live.com.au>
2013-07-02 14:16:21 +10:00
Spigot
0f18ae6103 Update Spigot to 1.6.1 and disable Netty. Be sure to keep backups, we will not be held responsible for your loss!
By: md_5 <md_5@live.com.au>
2013-07-02 13:57:42 +10:00