Commit graph

1412 commits

Author SHA1 Message Date
Thinkofdeath
face904a9a Correct the action used in updateGamemode. This isn't used by the server but
plugins may have wanted to use it
2014-09-01 23:53:11 +01:00
Thinkofdeath
4a083f819e Fix boats thinking that they were always on land for 1.8 clients 2014-09-01 23:48:58 +01:00
Thinkofdeath
377b69d787 Fix double plants having the incorrect top half 2014-09-01 23:23:07 +01:00
md_5
b2ba105762 Blacklist Orebfuscator as well. 2014-09-01 21:18:32 +10:00
Thinkofdeath
b9349e416d Apply the block fix to block change packets 2014-09-01 11:08:39 +01:00
md_5
508ec8f573 Skip loading of ProtocolLib
As it does not work with Spigot 1.8 builds!
2014-09-01 19:36:27 +10:00
Thinkofdeath
b15ae91145 Add support for Minecraft 1.8.x
This commit allows Spigot to support Minecraft clients both of versions 1.7.x and of 1.8.x.

*** It is imperative that backups be taken before installing this build on your server! ***

Please note that this commit is NOT a fully functioning 1.8 server and does not contain all aspects of 1.8 support.

Many months of time and effort have gone into ensuring that this patch is as complete, bug free and reliable as possible, however it is highly likely there will be as of yet undiscovered bugs and glitches.

Please report any such issues to the bug report forum, stating your client, server, and if applicable BungeeCord versions.

*** Any bug reports not running the very latest versions of these softwares will be ignored ***
2014-09-01 16:51:47 +10:00
Thinkofdeath
0614d8fae9 Fix a missed rename in WorldGenGroundBush 2014-08-30 18:37:21 +01:00
md_5
508462b96b Use a compile time sneaky throw hack.
Fixes maven compilation for dependants.
2014-08-30 19:06:10 +10:00
Thinkofdeath
b410a00a66 Don't try and re-set the global api cache on reload
Is means that once the api cache is enabled it can't be disabled by
reloading but reloading is broken anyway
2014-08-29 16:38:44 +01:00
Thinkofdeath
f170b7899c Correctly set the response code for the cached lookups and return the
error stream if the lookup failed
2014-08-28 12:02:46 +01:00
Thinkofdeath
841270ff1e Don't send requests if every player was found in the global api cache 2014-08-28 10:21:25 +01:00
Thinkofdeath
d61f38bd58 Add the spigot.yml into the timings paste
This allows for tools like @aikar's timings site to produce suggestions
based on the users config
2014-08-25 20:18:21 +01:00
Thinkofdeath
2af28ffbd1 Copy ItemStacks in DataWatcher to prevent ConcurrentModificationExceptions 2014-08-25 19:21:08 +01:00
drXor
ac6e1fc32d Configure how often EntityHangings calculate if they should die. 2014-08-25 19:07:55 +10:00
libraryaddict
b1af008222 Add unbreakable API to item meta 2014-08-25 19:05:25 +10:00
md_5
1cbbb9b62e Use sane default config values 2014-08-24 14:25:58 +10:00
md_5
4b5a26b11c Revert unbreakable API, doesn't work as intended 2014-08-24 11:53:33 +10:00
Aikar
8f9c601aed Limit TNT Detonations per tick
This gives a per-world control on how much TNT will be processed per-tick,
preventing a massive TNT detonation from lagging out the server.
2014-08-24 09:40:22 +10:00
md_5
a3abb3bea9 Remove inv close patch for now 2014-08-24 09:38:39 +10:00
libraryaddict
32e6d74a5f Add isUnbreakable and setUnbreakable to ItemMeta. Also fixes a bug where it doesn't show up on items 2014-08-24 09:36:37 +10:00
md_5
a791c555e7 Update IRC channel to irc.spi.gt 2014-08-23 14:14:57 +10:00
md_5
28faa0bd20 Revert "Only close if we are actually placing a block"
This reverts commit ea0b1b2d67.
2014-08-22 20:17:16 +10:00
Dmck2b
ea0b1b2d67 Only close if we are actually placing a block 2014-08-22 19:53:13 +10:00
Thinkofdeath
542e0798da Skip invalid enchants in CraftMetaItem
Its a rare case but when loading a world from a modded server which added enchantments
CraftMetaItem would add a null enchantment into the enchantment map which causes
NullPointers later
2014-08-19 11:07:12 +01:00
Thinkofdeath
1e7bc383c3 Upstream merge 2014-08-18 10:02:45 +01:00
Minecrell
d31b1d616f Make debug logging togglable. 2014-08-17 19:08:37 +01:00
lazertester
2cd515e224 Add Hunger Config Values 2014-08-17 19:57:08 +10:00
drXor
cc9a1a417f Fix empty ench tags being wiped by the meta system. 2014-08-15 23:32:57 +01:00
md_5
c3a9e71da3 Don't time async events 2014-08-15 21:30:29 +10:00
Aikar
08de30ca3e Fix Corrupted Trapped Chest
The CraftBukkit code that auto repairs corrupted tile entities never was updated for Trapped Chest.
If a Trapped Chest gets its Tile Entity corrupted, it will crash the server every time the chunk is loaded.

This will now fix Trapped Chests too.
2014-08-15 21:26:29 +10:00
Thinkofdeath
b2199df3f7 Fix the last PR 2014-08-10 17:10:45 +01:00
Suddenly
2fbc1f2704 Part revert to fix (0) in place of file name 2014-08-10 17:01:25 +01:00
md_5
f86634e280 Disregard arm swings - racy 2014-08-10 11:50:56 +10:00
md_5
b5378850d3 Move to interact event closing 2014-08-10 11:19:07 +10:00
md_5
b652de8e7f Only close once, if needed 2014-08-10 11:03:19 +10:00
md_5
db78a70788 Force Close Inventory On Move 2014-08-10 11:01:11 +10:00
md_5
a8763d7e57 Plug WorldMap Memory Leak 2014-08-08 19:57:11 +10:00
md_5
da20125dab Upstream merge 2014-08-08 19:04:28 +10:00
Thinkofdeath
883534a72a Fix LEFT_CLICK_AIR detection when not in creative 2014-08-07 15:49:24 +01:00
Kyle Clemens
7efa75c63a Fixed: Check cast
Instead of doing an unsafe cast, actually check if the HumanEntity supplied is a CraftHumanEntity. Plugins adding custom HumanEntities to the viewers of an inventory will end up crashing the server when the Chunk containing the block which contains the inventory unloads, since the original cast is unchecked here.

I'm not sure if there was a reason for casting to CraftHumanEntity, so I kept it, but HumanEntity, as I'm sure you know, has a closeInventory() method you could call instead of getting the CraftBukkit handle. There's probably a reason behind it, though.

I tried to follow the formatting conventions, but I may have missed something.

Tested the easily reproducible issue using this patch compiled, and it works fine; no crashes in sight.
2014-08-06 17:44:33 +10:00
Thinkofdeath
f5a1e7a96f Fix the particle api using the wrong Material class 2014-08-05 18:17:38 +01:00
Thinkofdeath
7d79f6bf5e Fix timings 2014-08-05 17:29:09 +01:00
Thinkofdeath
7fa28b7fbe Upstream merge 2014-08-04 20:38:00 +01:00
mrapple
2e45f5d2fa Fix missed diff from Minecraft 1.3.1 update 2014-08-01 09:28:27 +01:00
Thinkofdeath
463a1eb595 Filter attribute modifiers which cause the attribute to go out of its range 2014-07-31 17:49:09 +01:00
Thinkofdeath
8d45fe7f77 Merge the max health attribute patch into the previous one 2014-07-31 16:56:43 +01:00
Maxim Van de Wynckel
25b673fd7e Skip online mode UUID lookups when in offline mode and not using Bungee. 2014-07-30 17:08:36 +10:00
Thinkofdeath
6a6eff3319 Handle cases where the api fails to return a profile 2014-07-29 14:58:29 +01:00
Thinkofdeath
3452c620df Add an option for a global cache for any request on Mojang's api to handle plugins that don't use UserCache (or any cache) 2014-07-29 10:13:19 +01:00