Spigot patch 0028: Return bed location itself instead of next to bed; Fixes BUKKIT-3604

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0028-Return-bed-location-itself-instead-of-next-to-bed-Fi.patch
Spigot patch 0029: Remove dependency on CraftPlayer.getBedSpawnLocation; Fixes BUKKIT-3604

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0029-Remove-dependency-on-CraftPlayer.getBedSpawnLocation.patch
Spigot patch 0030: BUKKIT-3661, fixed missing HangingBreakEvent when EntityHanging moves

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0030-BUKKIT-3661-fixed-missing-HangingBreakEvent-when-Ent.patch
Spigot patch 0031: Adds BUKKIT-3667, Faux sleepers wake up normally

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0031-Adds-BUKKIT-3667-Faux-sleepers-wake-up-normally.patch
Spigot patch 0032: BUKKIT-3668 Fix wrong block in BlockDispenseEvent when filling empty bucket

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0032-BUKKIT-3668-Fix-wrong-block-in-BlockDispenseEvent-wh.patch
Spigot pach 0033: PlayerItemDamageEvent

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0033-PlayerItemDamageEvent.patch
Spigot patch 0035: Prevent NPE in CraftSign

This commit prevents the constructor of CraftSign throwing an NPE when it cannot get the sign tile entity. Instead it will fallback to a 4 empty lined sign, and not try to do anything to those lines on .update().

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0035-Prevent-NPE-in-CraftSign.patch
Spigot patch 0036: Stage DataWatcher & WatchableObject.

So that we may identify the exact cause of exceptions originating from these classes.

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0036-Stage-DataWatcher-WatchableObject.patch
Spigot patch 0037: Entity Tracking Ranges

This will let you configure how far to track entities in range from players, so that the entity does not render on the client if out of this range.
This has multiple benefits:

1) Less bandwidth. Not sending update packets for entities that are not even close to a player, or even close enough to clearly see.
2) Less lag by maps in item frames - Default range is 160 blocks... Many players can track that item frame and cause lag and not even see it.
3) Less lag in general - Less work for the server to do
4) Less client lag - Not trying to render distant item frames and paintings and entities will reduce entity count on the client, which is major for shop/town worlds which may use tons of item frames.

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0037-Entity-Tracking-Ranges.patch
Spigot patch 0038: BungeeCord support [incomplete]

Allows BungeeCord to set the players real IP address very early in the login process, so that the BungeeCord proxy IP is never even seen by a plugin.

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0038-BungeeCord-Support.patch

MCPC+ notes:

- This packet is handled directly in NetLoginHandler instead of
  through FMLNetworkHandler handlePacket250Packet or a registered
  listener since that's how Spigot handles it; could be changed later.
- BungeeCord does not yet support Forge, so this commit has no use yet.
  Watch this issue: https://github.com/ElasticPortalSuite/BungeeCord/issues/111
Spigot patch 0039: Texture Pack Resolutions

Fix issues when specifiying a server texture pack URL with resolution != 16.

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0039-Texture-Pack-Resolutions.patch
Spigot patch 0040: Entity Tracking Intervals

Send boats at the same speed as their player to remove the illusion of lag / jerkiness.

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0040-Entity-Tracking-Intervals.patch
Spigot patch 0041: Limit Custom Map Rendering

The default CraftBukkit render sequence for maps is ridiculously slow. By only using it when a custom renderer has been added (rarely in most cases), we can fallback to the Vanilla renderer for general usage. This leads to a much higher effiency overall, especially if no plugins are rendering such maps.

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0041-Limit-Custom-Map-Rendering.patch
Spigot patch 0042: Revert "Throw exception for disabled plugin tasks. Fixes BUKKIT-3951"

This reverts commit a20835161cf06b289b6ce35543ee0425bd267e60.

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0042-Revert-Throw-exception-for-disabled-plugin-tasks.-Fi.patch
Spigot patch 0043: Boat dupe fix.

https://github.com/EcoCityCraft/Spigot/blob/d9c76252eb02f7d0d6bea11efe77e3bb1edb0d99/CraftBukkit-Patches/0043-Boat-dupe-fix.patch
Spigot patch 0044: InventoryClickEvent now can return if the click was a double click. Fixes Bukkit-4035.

https://github.com/EcoCityCraft/Spigot/blob/7db53a4407d49fd69c30ee29ad68499a6fac51b0/CraftBukkit-Patches/0044-InventoryClickEvent-now-can-return-if-the-click-was-.patch
Spigot patch update (771): Netty: Add written bytes tracking for @bergerkiller.

https://github.com/EcoCityCraft/Spigot/commit/db79d01b57badbe014d15d0c636a1420fa853c2e

Completes update to Spigot build 771 (hidendra's pulls added in MinecraftPortCentral/MCPC-Plus@5cc4c38877d06e2487dfb8f30fff1e2ed2492ae4)
Refactor EntityDamageEvents. Adds BUKKIT-1944 & BUKKIT-3684

Remapped by Srg2Source from Bukkit/CraftBukkit@b87eac04dc8e308f1a02bd9e1c3c6ffd40b95439
Update to Forge 7.7.1.645
Fix abstract method error when disabling Netty. Fixes #729.

Disabling Netty (with -Dorg.spigotmc.netty.disabled=true) would fail
with java.lang.AbstractMethodError: net.minecraft.network.TcpConnection.getSocket()Ljava/net/Socket
due to an interaction between FML's runtime deobfuscation and Spigot's
INetworkManager interface changes.

In vanilla (and CB), getSocket() is implemented by TcpConnection,
but Spigot Netty added this method to the INetworkManager interface
which TcpConnection (and NettyNetworkManager) implements. This causes
the getSocket() call to not be remapped since it is invoked through
the interface rather than the class.

To fix this, we remove getSocket() from INetworkManager, and change
NetLoginHandler getSocket() to call the appropriate method through
the appropriate class, explicitly. This preserves the inheritance
hierarchy of the method and allows Netty to be disabled.