From 3faaaab75d5301f42e451d66af6bd9929129ab07 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Wed, 22 Jun 2016 22:43:02 -0400
Subject: [PATCH] Optimize isInvalidYLocation, getType and getBlockData

Some pretty micro optimizations, but this is the hottest method in the server....

This will drastically reduce number of operations to perform getType

the 2 previous patches was squashed into 1
---
 ...pper-searches-if-there-are-no-items.patch} |  12 +-
 .../0059-Optimize-getBlockData.patch          |  31 ---
 ...ch => 0060-Expose-server-CommandMap.patch} |   2 +-
 ...-informative-in-maxHealth-exception.patch} |   2 +-
 ...ord-chat-API-from-spigot-subclasses.patch} |   2 +-
 ...0063-Player-Tab-List-and-Title-APIs.patch} |   2 +-
 ...> 0064-Ensure-inv-drag-is-in-bounds.patch} |   2 +-
 ...ntation-of-tile-entity-removal-list.patch} |   2 +-
 ...d-configurable-portal-search-radius.patch} |   2 +-
 ...patch => 0067-Add-velocity-warnings.patch} |   2 +-
 ...-inter-world-teleportation-glitches.patch} |   2 +-
 ... 0069-Add-exception-reporting-event.patch} |   6 +-
 ...don-t-need-to-when-cerealising-text.patch} |   2 +-
 ...reboards-for-non-players-by-default.patch} |   2 +-
 ...orking-with-arrows-stuck-in-living-.patch} |   2 +-
 ... => 0073-Complete-resource-pack-API.patch} |   2 +-
 ...e-add-Spigot-s-hopper-check-feature.patch} |   2 +-
 ... 0075-Chunk-save-queue-improvements.patch} |   2 +-
 ....patch => 0076-Chunk-Save-Reattempt.patch} |   2 +-
 ...ding-permissions.yml-before-plugins.patch} |   2 +-
 ...low-Reloading-of-Custom-Permissions.patch} |   2 +-
 ...h => 0079-Remove-Metadata-on-reload.patch} |   2 +-
 ...patch => 0080-Undead-horse-leashing.patch} |   2 +-
 ...h => 0081-Fix-Furnace-cook-time-bug.patch} |   2 +-
 ...82-Handle-Item-Meta-Inconsistencies.patch} |   2 +-
 ...rable-Non-Player-Arrow-Despawn-Rate.patch} |   2 +-
 ...atch => 0084-Add-World-Util-Methods.patch} |   2 +-
 ...5-Optimized-Light-Level-Comparisons.patch} |   2 +-
 ...0086-Pass-world-to-Village-creation.patch} |   2 +-
 ...-Custom-replacement-for-eaten-items.patch} |   2 +-
 ... 0088-Set-health-before-death-event.patch} |   2 +-
 ...h-absorb-values-and-repair-bad-data.patch} |   2 +-
 ...tch-Async-PlayerChunkMap-operations.patch} |   2 +-
 ...e-mode-in-whitelist-command-as-well.patch} |   2 +-
 ...tch => 0092-Fix-SkullCache-case-bug.patch} |   2 +-
 ...ch => 0093-Waving-banner-workaround.patch} |   2 +-
 ...94-Use-a-Shared-Random-for-Entities.patch} |   2 +-
 ...> 0095-Don-t-teleport-dead-entities.patch} |   2 +-
 ...patch => 0096-Optimize-Chunk-Access.patch} |   2 +-
 ...e-spawn-chances-for-skeleton-horses.patch} |   2 +-
 ...Location-getType-and-getBlockData-fo.patch | 259 ++++++++++++++++++
 ...ptimize-isValidLocation-for-inlining.patch |  96 -------
 ...-correct-item-in-arrow-pickup-event.patch} |   2 +-
 ... 0100-Fix-cooked-fish-legacy-import.patch} |   2 +-
 ...infinite-loop-in-BlockPosition-iter.patch} |   4 +-
 ... 0102-Access-items-by-EquipmentSlot.patch} |   2 +-
 ...eck-async-remove-unused-vars-GH-159.patch} |   2 +-
 ...able-BlockPhysicsEvent-for-Redstone.patch} |   4 +-
 ...ntity-AddTo-RemoveFrom-World-Events.patch} |   8 +-
 ...-Configurable-Chunk-Inhabited-Timer.patch} |   6 +-
 ...t.patch => 0107-EntityPathfindEvent.patch} |   2 +-
 ...-BlockFromToEvent-from-loading-chun.patch} |   2 +-
 ... 0109-Minecart-drop-name-workaround.patch} |   2 +-
 ...ce-IO-ops-opening-a-new-region-file.patch} |   2 +-
 ...gionFileCache-and-make-configurable.patch} |   2 +-
 ...h => 0112-Add-getEntity-by-UUID-API.patch} |   2 +-
 ...h => 0113-Use-Optimized-Collections.patch} |   2 +-
 ...Do-not-load-chunks-for-light-checks.patch} |   4 +-
 ...115-Add-PlayerUseUnknownEntityEvent.patch} |   2 +-
 ...DebugInfo-not-initialized-on-client.patch} |   2 +-
 ...Configurable-Grass-Spread-Tick-Rate.patch} |   2 +-
 ...e-Keep-Spawn-Loaded-range-per-world.patch} |   6 +-
 ...-BlockPlaceEvent-triggering-physics.patch} |   4 +-
 ...m-reload-spawn-chunks-in-nether-end.patch} |   6 +-
 ...1-Remove-Debug-checks-from-DataBits.patch} |   2 +-
 ...illa-per-world-scoreboard-coloring-.patch} |   2 +-
 ...d-for-setting-passengers-on-players.patch} |   2 +-
 ...e-PlayerConnection-on-teleporting-p.patch} |   2 +-
 ...emove-unused-World-Tile-Entity-List.patch} |  14 +-
 ... 0126-Don-t-tick-Skulls-unused-code.patch} |   2 +-
 ...layers-not-being-kicked-on-shutdown.patch} |   2 +-
 ... 0128-Configurable-Player-Collision.patch} |   2 +-
 ...nt-to-allow-plugins-to-handle-clien.patch} |   2 +-
 ...mobs-should-only-spawn-in-the-water.patch} |   2 +-
 ...ix-Bugs-with-Spigot-Mob-Spawn-Logic.patch} |   6 +-
 ...> 0132-Configurable-RCON-IP-address.patch} |   2 +-
 ...33-Prevent-Fire-from-loading-chunks.patch} |   2 +-
 ...4-Implement-PlayerLocaleChangeEvent.patch} |   2 +-
 ...tyRegainHealthEvent-isFastRegen-API.patch} |   2 +-
 ...to-configure-frosted_ice-properties.patch} |   2 +-
 ...-Vehicle-Event-Cancellation-Changes.patch} |   2 +-
 ...patch => 0138-Arrow-pickup-rule-API.patch} |   2 +-
 ...dispenser-dropper-furnace-placement.patch} |   2 +-
 ...mprove-Minecraft-Hopper-Performance.patch} |   2 +-
 ...possibility-for-getServer-singleton.patch} |   2 +-
 ...tem-frames-performance-and-bug-fixe.patch} |   6 +-
 ...API-Replenishable-Lootables-Feature.patch} |   2 +-
 ...-Do-not-load-chunks-for-pathfinding.patch} |   2 +-
 ...> 0145-Entity-Tracking-Improvements.patch} |   2 +-
 ...-scoreboard-teams-to-scoreboard.dat.patch} |   2 +-
 ...unks-as-active-for-neighbor-updates.patch} |   6 +-
 ... 0148-Fix-Chunk-Unload-Queue-Issues.patch} |   4 +-
 ...em-property-for-disabling-watchdoge.patch} |   2 +-
 ...mize-EAR.patch => 0150-Optimize-EAR.patch} |   2 +-
 ...0151-Optimize-UserCache-Thread-Safe.patch} |   2 +-
 ...ntityItem-loads-before-EntityPotion.patch} |   2 +-
 ...locking-on-Network-Manager-creation.patch} |   2 +-
 ...4-Optional-old-TNT-cannon-behaviors.patch} |   2 +-
 ...-redstone-torch-rapid-clock-removal.patch} |   2 +-
 ...Ensure-Chunks-never-ever-load-async.patch} |   2 +-
 ...h => 0157-Add-server-name-parameter.patch} |   2 +-
 ...n-Wither-Death-sounds-to-same-world.patch} |   2 +-
 ...FallingBlocks-being-stuck-on-fences.patch} |   2 +-
 ...MC-80966-Always-send-chunk-sections.patch} |   4 +-
 ...0161-Make-entities-look-for-hoppers.patch} |   6 +-
 ...rom-the-correct-hand-when-spawn-egg.patch} |   2 +-
 ...nk-Unloads-based-on-Player-Movement.patch} |   4 +-
 ... 0164-Toggleable-Elytra-Wall-Damage.patch} |   2 +-
 108 files changed, 401 insertions(+), 269 deletions(-)
 rename Spigot-Server-Patches/{0060-Avoid-hopper-searches-if-there-are-no-items.patch => 0059-Avoid-hopper-searches-if-there-are-no-items.patch} (93%)
 delete mode 100644 Spigot-Server-Patches/0059-Optimize-getBlockData.patch
 rename Spigot-Server-Patches/{0061-Expose-server-CommandMap.patch => 0060-Expose-server-CommandMap.patch} (90%)
 rename Spigot-Server-Patches/{0062-Be-a-bit-more-informative-in-maxHealth-exception.patch => 0061-Be-a-bit-more-informative-in-maxHealth-exception.patch} (95%)
 rename Spigot-Server-Patches/{0063-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch => 0062-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch} (96%)
 rename Spigot-Server-Patches/{0064-Player-Tab-List-and-Title-APIs.patch => 0063-Player-Tab-List-and-Title-APIs.patch} (99%)
 rename Spigot-Server-Patches/{0065-Ensure-inv-drag-is-in-bounds.patch => 0064-Ensure-inv-drag-is-in-bounds.patch} (93%)
 rename Spigot-Server-Patches/{0066-Change-implementation-of-tile-entity-removal-list.patch => 0065-Change-implementation-of-tile-entity-removal-list.patch} (98%)
 rename Spigot-Server-Patches/{0067-Add-configurable-portal-search-radius.patch => 0066-Add-configurable-portal-search-radius.patch} (97%)
 rename Spigot-Server-Patches/{0068-Add-velocity-warnings.patch => 0067-Add-velocity-warnings.patch} (95%)
 rename Spigot-Server-Patches/{0069-Fix-inter-world-teleportation-glitches.patch => 0068-Fix-inter-world-teleportation-glitches.patch} (97%)
 rename Spigot-Server-Patches/{0070-Add-exception-reporting-event.patch => 0069-Add-exception-reporting-event.patch} (99%)
 rename Spigot-Server-Patches/{0071-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch => 0070-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch} (95%)
 rename Spigot-Server-Patches/{0072-Disable-Scoreboards-for-non-players-by-default.patch => 0071-Disable-Scoreboards-for-non-players-by-default.patch} (97%)
 rename Spigot-Server-Patches/{0073-Add-methods-for-working-with-arrows-stuck-in-living-.patch => 0072-Add-methods-for-working-with-arrows-stuck-in-living-.patch} (96%)
 rename Spigot-Server-Patches/{0074-Complete-resource-pack-API.patch => 0073-Complete-resource-pack-API.patch} (98%)
 rename Spigot-Server-Patches/{0075-Re-add-Spigot-s-hopper-check-feature.patch => 0074-Re-add-Spigot-s-hopper-check-feature.patch} (96%)
 rename Spigot-Server-Patches/{0076-Chunk-save-queue-improvements.patch => 0075-Chunk-save-queue-improvements.patch} (99%)
 rename Spigot-Server-Patches/{0077-Chunk-Save-Reattempt.patch => 0076-Chunk-Save-Reattempt.patch} (97%)
 rename Spigot-Server-Patches/{0078-Default-loading-permissions.yml-before-plugins.patch => 0077-Default-loading-permissions.yml-before-plugins.patch} (97%)
 rename Spigot-Server-Patches/{0079-Allow-Reloading-of-Custom-Permissions.patch => 0078-Allow-Reloading-of-Custom-Permissions.patch} (95%)
 rename Spigot-Server-Patches/{0080-Remove-Metadata-on-reload.patch => 0079-Remove-Metadata-on-reload.patch} (94%)
 rename Spigot-Server-Patches/{0081-Undead-horse-leashing.patch => 0080-Undead-horse-leashing.patch} (95%)
 rename Spigot-Server-Patches/{0082-Fix-Furnace-cook-time-bug.patch => 0081-Fix-Furnace-cook-time-bug.patch} (94%)
 rename Spigot-Server-Patches/{0083-Handle-Item-Meta-Inconsistencies.patch => 0082-Handle-Item-Meta-Inconsistencies.patch} (99%)
 rename Spigot-Server-Patches/{0084-Configurable-Non-Player-Arrow-Despawn-Rate.patch => 0083-Configurable-Non-Player-Arrow-Despawn-Rate.patch} (96%)
 rename Spigot-Server-Patches/{0085-Add-World-Util-Methods.patch => 0084-Add-World-Util-Methods.patch} (98%)
 rename Spigot-Server-Patches/{0086-Optimized-Light-Level-Comparisons.patch => 0085-Optimized-Light-Level-Comparisons.patch} (99%)
 rename Spigot-Server-Patches/{0087-Pass-world-to-Village-creation.patch => 0086-Pass-world-to-Village-creation.patch} (95%)
 rename Spigot-Server-Patches/{0088-Custom-replacement-for-eaten-items.patch => 0087-Custom-replacement-for-eaten-items.patch} (96%)
 rename Spigot-Server-Patches/{0089-Set-health-before-death-event.patch => 0088-Set-health-before-death-event.patch} (96%)
 rename Spigot-Server-Patches/{0090-handle-NaN-health-absorb-values-and-repair-bad-data.patch => 0089-handle-NaN-health-absorb-values-and-repair-bad-data.patch} (97%)
 rename Spigot-Server-Patches/{0091-Catch-Async-PlayerChunkMap-operations.patch => 0090-Catch-Async-PlayerChunkMap-operations.patch} (93%)
 rename Spigot-Server-Patches/{0092-Support-offline-mode-in-whitelist-command-as-well.patch => 0091-Support-offline-mode-in-whitelist-command-as-well.patch} (98%)
 rename Spigot-Server-Patches/{0093-Fix-SkullCache-case-bug.patch => 0092-Fix-SkullCache-case-bug.patch} (94%)
 rename Spigot-Server-Patches/{0094-Waving-banner-workaround.patch => 0093-Waving-banner-workaround.patch} (95%)
 rename Spigot-Server-Patches/{0095-Use-a-Shared-Random-for-Entities.patch => 0094-Use-a-Shared-Random-for-Entities.patch} (95%)
 rename Spigot-Server-Patches/{0096-Don-t-teleport-dead-entities.patch => 0095-Don-t-teleport-dead-entities.patch} (93%)
 rename Spigot-Server-Patches/{0097-Optimize-Chunk-Access.patch => 0096-Optimize-Chunk-Access.patch} (96%)
 rename Spigot-Server-Patches/{0098-Configurable-spawn-chances-for-skeleton-horses.patch => 0097-Configurable-spawn-chances-for-skeleton-horses.patch} (96%)
 create mode 100644 Spigot-Server-Patches/0098-Optimize-isValidLocation-getType-and-getBlockData-fo.patch
 delete mode 100644 Spigot-Server-Patches/0099-Optimize-isValidLocation-for-inlining.patch
 rename Spigot-Server-Patches/{0100-Use-correct-item-in-arrow-pickup-event.patch => 0099-Use-correct-item-in-arrow-pickup-event.patch} (96%)
 rename Spigot-Server-Patches/{0101-Fix-cooked-fish-legacy-import.patch => 0100-Fix-cooked-fish-legacy-import.patch} (94%)
 rename Spigot-Server-Patches/{0102-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch => 0101-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch} (98%)
 rename Spigot-Server-Patches/{0103-Access-items-by-EquipmentSlot.patch => 0102-Access-items-by-EquipmentSlot.patch} (97%)
 rename Spigot-Server-Patches/{0104-Check-async-remove-unused-vars-GH-159.patch => 0103-Check-async-remove-unused-vars-GH-159.patch} (96%)
 rename Spigot-Server-Patches/{0105-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch => 0104-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch} (97%)
 rename Spigot-Server-Patches/{0106-Entity-AddTo-RemoveFrom-World-Events.patch => 0105-Entity-AddTo-RemoveFrom-World-Events.patch} (80%)
 rename Spigot-Server-Patches/{0107-Configurable-Chunk-Inhabited-Timer.patch => 0106-Configurable-Chunk-Inhabited-Timer.patch} (91%)
 rename Spigot-Server-Patches/{0108-EntityPathfindEvent.patch => 0107-EntityPathfindEvent.patch} (96%)
 rename Spigot-Server-Patches/{0109-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch => 0108-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch} (97%)
 rename Spigot-Server-Patches/{0110-Minecart-drop-name-workaround.patch => 0109-Minecart-drop-name-workaround.patch} (94%)
 rename Spigot-Server-Patches/{0111-Reduce-IO-ops-opening-a-new-region-file.patch => 0110-Reduce-IO-ops-opening-a-new-region-file.patch} (96%)
 rename Spigot-Server-Patches/{0112-Sanitise-RegionFileCache-and-make-configurable.patch => 0111-Sanitise-RegionFileCache-and-make-configurable.patch} (98%)
 rename Spigot-Server-Patches/{0113-Add-getEntity-by-UUID-API.patch => 0112-Add-getEntity-by-UUID-API.patch} (97%)
 rename Spigot-Server-Patches/{0114-Use-Optimized-Collections.patch => 0113-Use-Optimized-Collections.patch} (97%)
 rename Spigot-Server-Patches/{0115-Do-not-load-chunks-for-light-checks.patch => 0114-Do-not-load-chunks-for-light-checks.patch} (90%)
 rename Spigot-Server-Patches/{0116-Add-PlayerUseUnknownEntityEvent.patch => 0115-Add-PlayerUseUnknownEntityEvent.patch} (96%)
 rename Spigot-Server-Patches/{0117-Fix-reducedDebugInfo-not-initialized-on-client.patch => 0116-Fix-reducedDebugInfo-not-initialized-on-client.patch} (94%)
 rename Spigot-Server-Patches/{0118-Configurable-Grass-Spread-Tick-Rate.patch => 0117-Configurable-Grass-Spread-Tick-Rate.patch} (96%)
 rename Spigot-Server-Patches/{0119-Configurable-Keep-Spawn-Loaded-range-per-world.patch => 0118-Configurable-Keep-Spawn-Loaded-range-per-world.patch} (96%)
 rename Spigot-Server-Patches/{0120-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch => 0119-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch} (88%)
 rename Spigot-Server-Patches/{0121-Don-t-spam-reload-spawn-chunks-in-nether-end.patch => 0120-Don-t-spam-reload-spawn-chunks-in-nether-end.patch} (88%)
 rename Spigot-Server-Patches/{0122-Remove-Debug-checks-from-DataBits.patch => 0121-Remove-Debug-checks-from-DataBits.patch} (96%)
 rename Spigot-Server-Patches/{0123-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch => 0122-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch} (97%)
 rename Spigot-Server-Patches/{0124-Workaround-for-setting-passengers-on-players.patch => 0123-Workaround-for-setting-passengers-on-players.patch} (94%)
 rename Spigot-Server-Patches/{0125-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch => 0124-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch} (95%)
 rename Spigot-Server-Patches/{0126-Remove-unused-World-Tile-Entity-List.patch => 0125-Remove-unused-World-Tile-Entity-List.patch} (88%)
 rename Spigot-Server-Patches/{0127-Don-t-tick-Skulls-unused-code.patch => 0126-Don-t-tick-Skulls-unused-code.patch} (92%)
 rename Spigot-Server-Patches/{0128-Fix-some-players-not-being-kicked-on-shutdown.patch => 0127-Fix-some-players-not-being-kicked-on-shutdown.patch} (94%)
 rename Spigot-Server-Patches/{0129-Configurable-Player-Collision.patch => 0128-Configurable-Player-Collision.patch} (96%)
 rename Spigot-Server-Patches/{0130-Add-handshake-event-to-allow-plugins-to-handle-clien.patch => 0129-Add-handshake-event-to-allow-plugins-to-handle-clien.patch} (97%)
 rename Spigot-Server-Patches/{0131-Water-mobs-should-only-spawn-in-the-water.patch => 0130-Water-mobs-should-only-spawn-in-the-water.patch} (94%)
 rename Spigot-Server-Patches/{0132-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch => 0131-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch} (95%)
 rename Spigot-Server-Patches/{0133-Configurable-RCON-IP-address.patch => 0132-Configurable-RCON-IP-address.patch} (93%)
 rename Spigot-Server-Patches/{0134-Prevent-Fire-from-loading-chunks.patch => 0133-Prevent-Fire-from-loading-chunks.patch} (97%)
 rename Spigot-Server-Patches/{0135-Implement-PlayerLocaleChangeEvent.patch => 0134-Implement-PlayerLocaleChangeEvent.patch} (97%)
 rename Spigot-Server-Patches/{0136-EntityRegainHealthEvent-isFastRegen-API.patch => 0135-EntityRegainHealthEvent-isFastRegen-API.patch} (97%)
 rename Spigot-Server-Patches/{0137-Add-ability-to-configure-frosted_ice-properties.patch => 0136-Add-ability-to-configure-frosted_ice-properties.patch} (97%)
 rename Spigot-Server-Patches/{0138-Vehicle-Event-Cancellation-Changes.patch => 0137-Vehicle-Event-Cancellation-Changes.patch} (98%)
 rename Spigot-Server-Patches/{0139-Arrow-pickup-rule-API.patch => 0138-Arrow-pickup-rule-API.patch} (96%)
 rename Spigot-Server-Patches/{0140-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch => 0139-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch} (97%)
 rename Spigot-Server-Patches/{0141-Improve-Minecraft-Hopper-Performance.patch => 0140-Improve-Minecraft-Hopper-Performance.patch} (97%)
 rename Spigot-Server-Patches/{0142-remove-null-possibility-for-getServer-singleton.patch => 0141-remove-null-possibility-for-getServer-singleton.patch} (96%)
 rename Spigot-Server-Patches/{0143-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch => 0142-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch} (97%)
 rename Spigot-Server-Patches/{0144-LootTable-API-Replenishable-Lootables-Feature.patch => 0143-LootTable-API-Replenishable-Lootables-Feature.patch} (99%)
 rename Spigot-Server-Patches/{0145-Do-not-load-chunks-for-pathfinding.patch => 0144-Do-not-load-chunks-for-pathfinding.patch} (92%)
 rename Spigot-Server-Patches/{0146-Entity-Tracking-Improvements.patch => 0145-Entity-Tracking-Improvements.patch} (98%)
 rename Spigot-Server-Patches/{0147-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch => 0146-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch} (96%)
 rename Spigot-Server-Patches/{0148-Do-not-mark-chunks-as-active-for-neighbor-updates.patch => 0147-Do-not-mark-chunks-as-active-for-neighbor-updates.patch} (94%)
 rename Spigot-Server-Patches/{0149-Fix-Chunk-Unload-Queue-Issues.patch => 0148-Fix-Chunk-Unload-Queue-Issues.patch} (94%)
 rename Spigot-Server-Patches/{0150-System-property-for-disabling-watchdoge.patch => 0149-System-property-for-disabling-watchdoge.patch} (93%)
 rename Spigot-Server-Patches/{0151-Optimize-EAR.patch => 0150-Optimize-EAR.patch} (97%)
 rename Spigot-Server-Patches/{0152-Optimize-UserCache-Thread-Safe.patch => 0151-Optimize-UserCache-Thread-Safe.patch} (98%)
 rename Spigot-Server-Patches/{0153-MC-99914-ensure-EntityItem-loads-before-EntityPotion.patch => 0152-MC-99914-ensure-EntityItem-loads-before-EntityPotion.patch} (96%)
 rename Spigot-Server-Patches/{0154-Avoid-blocking-on-Network-Manager-creation.patch => 0153-Avoid-blocking-on-Network-Manager-creation.patch} (97%)
 rename Spigot-Server-Patches/{0155-Optional-old-TNT-cannon-behaviors.patch => 0154-Optional-old-TNT-cannon-behaviors.patch} (99%)
 rename Spigot-Server-Patches/{0156-Faster-redstone-torch-rapid-clock-removal.patch => 0155-Faster-redstone-torch-rapid-clock-removal.patch} (96%)
 rename Spigot-Server-Patches/{0157-Ensure-Chunks-never-ever-load-async.patch => 0156-Ensure-Chunks-never-ever-load-async.patch} (97%)
 rename Spigot-Server-Patches/{0158-Add-server-name-parameter.patch => 0157-Add-server-name-parameter.patch} (93%)
 rename Spigot-Server-Patches/{0159-Only-send-Dragon-Wither-Death-sounds-to-same-world.patch => 0158-Only-send-Dragon-Wither-Death-sounds-to-same-world.patch} (97%)
 rename Spigot-Server-Patches/{0160-Fix-FallingBlocks-being-stuck-on-fences.patch => 0159-Fix-FallingBlocks-being-stuck-on-fences.patch} (98%)
 rename Spigot-Server-Patches/{0161-MC-80966-Always-send-chunk-sections.patch => 0160-MC-80966-Always-send-chunk-sections.patch} (88%)
 rename Spigot-Server-Patches/{0162-Make-entities-look-for-hoppers.patch => 0161-Make-entities-look-for-hoppers.patch} (99%)
 rename Spigot-Server-Patches/{0163-Remove-the-item-from-the-correct-hand-when-spawn-egg.patch => 0162-Remove-the-item-from-the-correct-hand-when-spawn-egg.patch} (96%)
 rename Spigot-Server-Patches/{0164-Delay-Chunk-Unloads-based-on-Player-Movement.patch => 0163-Delay-Chunk-Unloads-based-on-Player-Movement.patch} (98%)
 rename Spigot-Server-Patches/{0165-Toggleable-Elytra-Wall-Damage.patch => 0164-Toggleable-Elytra-Wall-Damage.patch} (96%)

diff --git a/Spigot-Server-Patches/0060-Avoid-hopper-searches-if-there-are-no-items.patch b/Spigot-Server-Patches/0059-Avoid-hopper-searches-if-there-are-no-items.patch
similarity index 93%
rename from Spigot-Server-Patches/0060-Avoid-hopper-searches-if-there-are-no-items.patch
rename to Spigot-Server-Patches/0059-Avoid-hopper-searches-if-there-are-no-items.patch
index ea19ef2566..ca1b9975e2 100644
--- a/Spigot-Server-Patches/0060-Avoid-hopper-searches-if-there-are-no-items.patch
+++ b/Spigot-Server-Patches/0059-Avoid-hopper-searches-if-there-are-no-items.patch
@@ -1,4 +1,4 @@
-From 7000bff5800158522ae29ddfeb1433a4844d8f59 Mon Sep 17 00:00:00 2001
+From 4218b818924a5051199822173d5fe96a416ed53d Mon Sep 17 00:00:00 2001
 From: CullanP <cullanpage@gmail.com>
 Date: Thu, 3 Mar 2016 02:13:38 -0600
 Subject: [PATCH] Avoid hopper searches if there are no items
@@ -14,7 +14,7 @@ And since minecart hoppers are used _very_ rarely near we can avoid alot of sear
 Combined, this adds up a lot.
 
 diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index 1a0a5e5..f0f4264 100644
+index 0fae95d..684e5f7 100644
 --- a/src/main/java/net/minecraft/server/Chunk.java
 +++ b/src/main/java/net/minecraft/server/Chunk.java
 @@ -47,6 +47,13 @@ public class Chunk {
@@ -31,7 +31,7 @@ index 1a0a5e5..f0f4264 100644
      // CraftBukkit start - Neighbor loaded cache for chunk lighting and entity ticking
      private int neighbors = 0x1 << 12;
      public long chunkKey;
-@@ -625,6 +632,13 @@ public class Chunk {
+@@ -618,6 +625,13 @@ public class Chunk {
          entity.ad = k;
          entity.ae = this.locZ;
          this.entitySlices[k].add(entity);
@@ -45,7 +45,7 @@ index 1a0a5e5..f0f4264 100644
          // Spigot start - increment creature type count
          // Keep this synced up with World.a(Class)
          if (entity instanceof EntityInsentient) {
-@@ -657,6 +671,13 @@ public class Chunk {
+@@ -650,6 +664,13 @@ public class Chunk {
          }
  
          this.entitySlices[i].remove(entity);
@@ -59,7 +59,7 @@ index 1a0a5e5..f0f4264 100644
          // Spigot start - decrement creature type count
          // Keep this synced up with World.a(Class)
          if (entity instanceof EntityInsentient) {
-@@ -848,6 +869,15 @@ public class Chunk {
+@@ -841,6 +862,15 @@ public class Chunk {
              if (!this.entitySlices[k].isEmpty()) {
                  Iterator iterator = this.entitySlices[k].iterator();
  
@@ -75,7 +75,7 @@ index 1a0a5e5..f0f4264 100644
                  while (iterator.hasNext()) {
                      Entity entity1 = (Entity) iterator.next();
  
-@@ -884,7 +914,18 @@ public class Chunk {
+@@ -877,7 +907,18 @@ public class Chunk {
          i = MathHelper.clamp(i, 0, this.entitySlices.length - 1);
          j = MathHelper.clamp(j, 0, this.entitySlices.length - 1);
  
diff --git a/Spigot-Server-Patches/0059-Optimize-getBlockData.patch b/Spigot-Server-Patches/0059-Optimize-getBlockData.patch
deleted file mode 100644
index e72af60004..0000000000
--- a/Spigot-Server-Patches/0059-Optimize-getBlockData.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 4a9976d0b2b7783046a35a9c48146e0a562cb72f Mon Sep 17 00:00:00 2001
-From: Aikar <aikar@aikar.co>
-Date: Thu, 3 Mar 2016 02:07:55 -0600
-Subject: [PATCH] Optimize getBlockData
-
-Hot method, so reduce # of instructions for the method.
-
-diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index 0fae95d..1a0a5e5 100644
---- a/src/main/java/net/minecraft/server/Chunk.java
-+++ b/src/main/java/net/minecraft/server/Chunk.java
-@@ -397,8 +397,15 @@ public class Chunk {
-         return this.a(i, j, k).c();
-     }
- 
-+    // Paper - Optimize getBlockData
-     public IBlockData getBlockData(BlockPosition blockposition) {
--        return this.a(blockposition.getX(), blockposition.getY(), blockposition.getZ());
-+        if (blockposition.getY() >= 0 && blockposition.getY() >> 4 < this.sections.length) {
-+            ChunkSection chunksection = this.sections[blockposition.getY() >> 4];
-+            if (chunksection != null) {
-+                return chunksection.getType(blockposition.getX() & 15, blockposition.getY() & 15, blockposition.getZ() & 15);
-+            }
-+        }
-+        return Blocks.AIR.getBlockData();
-     }
- 
-     public IBlockData a(final int i, final int j, final int k) {
--- 
-2.9.0
-
diff --git a/Spigot-Server-Patches/0061-Expose-server-CommandMap.patch b/Spigot-Server-Patches/0060-Expose-server-CommandMap.patch
similarity index 90%
rename from Spigot-Server-Patches/0061-Expose-server-CommandMap.patch
rename to Spigot-Server-Patches/0060-Expose-server-CommandMap.patch
index 5e2d4cdf24..2b24ecb3e7 100644
--- a/Spigot-Server-Patches/0061-Expose-server-CommandMap.patch
+++ b/Spigot-Server-Patches/0060-Expose-server-CommandMap.patch
@@ -1,4 +1,4 @@
-From f13c3a2728d644b624656810efa02069d44ec301 Mon Sep 17 00:00:00 2001
+From a91cf68943834508930b5314c6cc67c15484194e Mon Sep 17 00:00:00 2001
 From: kashike <kashike@vq.lc>
 Date: Thu, 3 Mar 2016 02:15:57 -0600
 Subject: [PATCH] Expose server CommandMap
diff --git a/Spigot-Server-Patches/0062-Be-a-bit-more-informative-in-maxHealth-exception.patch b/Spigot-Server-Patches/0061-Be-a-bit-more-informative-in-maxHealth-exception.patch
similarity index 95%
rename from Spigot-Server-Patches/0062-Be-a-bit-more-informative-in-maxHealth-exception.patch
rename to Spigot-Server-Patches/0061-Be-a-bit-more-informative-in-maxHealth-exception.patch
index 3d562099cd..f9b5e778fe 100644
--- a/Spigot-Server-Patches/0062-Be-a-bit-more-informative-in-maxHealth-exception.patch
+++ b/Spigot-Server-Patches/0061-Be-a-bit-more-informative-in-maxHealth-exception.patch
@@ -1,4 +1,4 @@
-From 2e57178592ad2d78a55f221af67ac8e63ed1c764 Mon Sep 17 00:00:00 2001
+From 141983dc1c88235f76dd597e6e4f971103992b15 Mon Sep 17 00:00:00 2001
 From: kashike <kashike@vq.lc>
 Date: Thu, 3 Mar 2016 02:18:39 -0600
 Subject: [PATCH] Be a bit more informative in maxHealth exception
diff --git a/Spigot-Server-Patches/0063-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch b/Spigot-Server-Patches/0062-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch
similarity index 96%
rename from Spigot-Server-Patches/0063-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch
rename to Spigot-Server-Patches/0062-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch
index 4fa7738529..e7fbb376b6 100644
--- a/Spigot-Server-Patches/0063-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch
+++ b/Spigot-Server-Patches/0062-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch
@@ -1,4 +1,4 @@
-From c1cf998ff2314c70cb0de8a55586676bdd7b162f Mon Sep 17 00:00:00 2001
+From bec2920701b7661f4dfd3bc75d44f685a7832d0c Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Thu, 3 Mar 2016 02:21:58 -0600
 Subject: [PATCH] Graduate bungeecord chat API from spigot subclasses
diff --git a/Spigot-Server-Patches/0064-Player-Tab-List-and-Title-APIs.patch b/Spigot-Server-Patches/0063-Player-Tab-List-and-Title-APIs.patch
similarity index 99%
rename from Spigot-Server-Patches/0064-Player-Tab-List-and-Title-APIs.patch
rename to Spigot-Server-Patches/0063-Player-Tab-List-and-Title-APIs.patch
index 7c573dea61..04c046aa91 100644
--- a/Spigot-Server-Patches/0064-Player-Tab-List-and-Title-APIs.patch
+++ b/Spigot-Server-Patches/0063-Player-Tab-List-and-Title-APIs.patch
@@ -1,4 +1,4 @@
-From 9bbb8fc51c33eb96c773efbf925c0df43e361548 Mon Sep 17 00:00:00 2001
+From 1608cd40656ac9b476859d2d2def639550f4874f Mon Sep 17 00:00:00 2001
 From: Techcable <Techcable@outlook.com>
 Date: Thu, 3 Mar 2016 02:32:10 -0600
 Subject: [PATCH] Player Tab List and Title APIs
diff --git a/Spigot-Server-Patches/0065-Ensure-inv-drag-is-in-bounds.patch b/Spigot-Server-Patches/0064-Ensure-inv-drag-is-in-bounds.patch
similarity index 93%
rename from Spigot-Server-Patches/0065-Ensure-inv-drag-is-in-bounds.patch
rename to Spigot-Server-Patches/0064-Ensure-inv-drag-is-in-bounds.patch
index 913c0be2ca..28744b92bd 100644
--- a/Spigot-Server-Patches/0065-Ensure-inv-drag-is-in-bounds.patch
+++ b/Spigot-Server-Patches/0064-Ensure-inv-drag-is-in-bounds.patch
@@ -1,4 +1,4 @@
-From 5cfaf07def26c1caf6625a18f49386e78ab0299a Mon Sep 17 00:00:00 2001
+From a8a92b91cd28ea0a4115976ff0a8daabf36abf9a Mon Sep 17 00:00:00 2001
 From: Joseph Hirschfeld <joe@ibj.io>
 Date: Thu, 3 Mar 2016 02:33:53 -0600
 Subject: [PATCH] Ensure inv drag is in bounds
diff --git a/Spigot-Server-Patches/0066-Change-implementation-of-tile-entity-removal-list.patch b/Spigot-Server-Patches/0065-Change-implementation-of-tile-entity-removal-list.patch
similarity index 98%
rename from Spigot-Server-Patches/0066-Change-implementation-of-tile-entity-removal-list.patch
rename to Spigot-Server-Patches/0065-Change-implementation-of-tile-entity-removal-list.patch
index cd77c28cc5..c6dd883b5a 100644
--- a/Spigot-Server-Patches/0066-Change-implementation-of-tile-entity-removal-list.patch
+++ b/Spigot-Server-Patches/0065-Change-implementation-of-tile-entity-removal-list.patch
@@ -1,4 +1,4 @@
-From 279fede1ac5e6ed7499702b85e1c6bbfed03db84 Mon Sep 17 00:00:00 2001
+From 23113242e70d884bf3091ee1efcda06dd2d71ab8 Mon Sep 17 00:00:00 2001
 From: Joseph Hirschfeld <joe@ibj.io>
 Date: Thu, 3 Mar 2016 02:39:54 -0600
 Subject: [PATCH] Change implementation of (tile)entity removal list
diff --git a/Spigot-Server-Patches/0067-Add-configurable-portal-search-radius.patch b/Spigot-Server-Patches/0066-Add-configurable-portal-search-radius.patch
similarity index 97%
rename from Spigot-Server-Patches/0067-Add-configurable-portal-search-radius.patch
rename to Spigot-Server-Patches/0066-Add-configurable-portal-search-radius.patch
index 2555e57833..7bff8d2009 100644
--- a/Spigot-Server-Patches/0067-Add-configurable-portal-search-radius.patch
+++ b/Spigot-Server-Patches/0066-Add-configurable-portal-search-radius.patch
@@ -1,4 +1,4 @@
-From dbf7b0e43495ab62d668d7571acebe46c616200d Mon Sep 17 00:00:00 2001
+From 3e529ff8e46271ef3e60ec7f9268f11735d97990 Mon Sep 17 00:00:00 2001
 From: Joseph Hirschfeld <joe@ibj.io>
 Date: Thu, 3 Mar 2016 02:46:17 -0600
 Subject: [PATCH] Add configurable portal search radius
diff --git a/Spigot-Server-Patches/0068-Add-velocity-warnings.patch b/Spigot-Server-Patches/0067-Add-velocity-warnings.patch
similarity index 95%
rename from Spigot-Server-Patches/0068-Add-velocity-warnings.patch
rename to Spigot-Server-Patches/0067-Add-velocity-warnings.patch
index d3aa5ef96a..b7efd74abf 100644
--- a/Spigot-Server-Patches/0068-Add-velocity-warnings.patch
+++ b/Spigot-Server-Patches/0067-Add-velocity-warnings.patch
@@ -1,4 +1,4 @@
-From ca1fca4babc5402d36fc058a8847955cdbe2d0cc Mon Sep 17 00:00:00 2001
+From e89c6191576e753b2742b027227a378963d67b72 Mon Sep 17 00:00:00 2001
 From: Joseph Hirschfeld <joe@ibj.io>
 Date: Thu, 3 Mar 2016 02:48:12 -0600
 Subject: [PATCH] Add velocity warnings
diff --git a/Spigot-Server-Patches/0069-Fix-inter-world-teleportation-glitches.patch b/Spigot-Server-Patches/0068-Fix-inter-world-teleportation-glitches.patch
similarity index 97%
rename from Spigot-Server-Patches/0069-Fix-inter-world-teleportation-glitches.patch
rename to Spigot-Server-Patches/0068-Fix-inter-world-teleportation-glitches.patch
index d3629cc2f1..41fe3aa303 100644
--- a/Spigot-Server-Patches/0069-Fix-inter-world-teleportation-glitches.patch
+++ b/Spigot-Server-Patches/0068-Fix-inter-world-teleportation-glitches.patch
@@ -1,4 +1,4 @@
-From 11301f2c211f2ea89528de536eeacfcf4ead86f2 Mon Sep 17 00:00:00 2001
+From 2f889b7b96695761c43f97cc3541d53d6726b1f9 Mon Sep 17 00:00:00 2001
 From: Sudzzy <originmc@outlook.com>
 Date: Thu, 3 Mar 2016 02:50:31 -0600
 Subject: [PATCH] Fix inter-world teleportation glitches
diff --git a/Spigot-Server-Patches/0070-Add-exception-reporting-event.patch b/Spigot-Server-Patches/0069-Add-exception-reporting-event.patch
similarity index 99%
rename from Spigot-Server-Patches/0070-Add-exception-reporting-event.patch
rename to Spigot-Server-Patches/0069-Add-exception-reporting-event.patch
index 3f1993a26a..2adb8105f9 100644
--- a/Spigot-Server-Patches/0070-Add-exception-reporting-event.patch
+++ b/Spigot-Server-Patches/0069-Add-exception-reporting-event.patch
@@ -1,4 +1,4 @@
-From cd3e2243707e47c864ccffb74f635c23f680c009 Mon Sep 17 00:00:00 2001
+From c6c618ab92a20d2ede15a3cbc4ab76443a8a447e Mon Sep 17 00:00:00 2001
 From: Joseph Hirschfeld <joe@ibj.io>
 Date: Thu, 3 Mar 2016 03:15:41 -0600
 Subject: [PATCH] Add exception reporting event
@@ -50,7 +50,7 @@ index 0000000..9339718
 +}
 \ No newline at end of file
 diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index f0f4264..f16a5dc 100644
+index 684e5f7..bc55a2b 100644
 --- a/src/main/java/net/minecraft/server/Chunk.java
 +++ b/src/main/java/net/minecraft/server/Chunk.java
 @@ -1,5 +1,6 @@
@@ -68,7 +68,7 @@ index f0f4264..f16a5dc 100644
  
  public class Chunk {
  
-@@ -764,10 +766,15 @@ public class Chunk {
+@@ -757,10 +759,15 @@ public class Chunk {
              this.tileEntities.remove(blockposition);
              // Paper end
          } else {
diff --git a/Spigot-Server-Patches/0071-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch b/Spigot-Server-Patches/0070-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch
similarity index 95%
rename from Spigot-Server-Patches/0071-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch
rename to Spigot-Server-Patches/0070-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch
index 3546c0fb48..396c8ac6b2 100644
--- a/Spigot-Server-Patches/0071-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch
+++ b/Spigot-Server-Patches/0070-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch
@@ -1,4 +1,4 @@
-From 4b5fde287ea26f500f8edf14d1636c0d372ab9b6 Mon Sep 17 00:00:00 2001
+From e11bae4003629ef3f93d618965611e3248a3024f Mon Sep 17 00:00:00 2001
 From: kashike <kashike@vq.lc>
 Date: Tue, 8 Mar 2016 18:28:43 -0800
 Subject: [PATCH] Don't nest if we don't need to when cerealising text
diff --git a/Spigot-Server-Patches/0072-Disable-Scoreboards-for-non-players-by-default.patch b/Spigot-Server-Patches/0071-Disable-Scoreboards-for-non-players-by-default.patch
similarity index 97%
rename from Spigot-Server-Patches/0072-Disable-Scoreboards-for-non-players-by-default.patch
rename to Spigot-Server-Patches/0071-Disable-Scoreboards-for-non-players-by-default.patch
index f752f7f4d9..90d9438ace 100644
--- a/Spigot-Server-Patches/0072-Disable-Scoreboards-for-non-players-by-default.patch
+++ b/Spigot-Server-Patches/0071-Disable-Scoreboards-for-non-players-by-default.patch
@@ -1,4 +1,4 @@
-From 777b799746e474f24272c0b8932a63dc6f2e4c9a Mon Sep 17 00:00:00 2001
+From 777ae8cd4930e25569e4bcb8b2a328ab69dbd327 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Tue, 8 Mar 2016 23:25:45 -0500
 Subject: [PATCH] Disable Scoreboards for non players by default
diff --git a/Spigot-Server-Patches/0073-Add-methods-for-working-with-arrows-stuck-in-living-.patch b/Spigot-Server-Patches/0072-Add-methods-for-working-with-arrows-stuck-in-living-.patch
similarity index 96%
rename from Spigot-Server-Patches/0073-Add-methods-for-working-with-arrows-stuck-in-living-.patch
rename to Spigot-Server-Patches/0072-Add-methods-for-working-with-arrows-stuck-in-living-.patch
index eb10b8be00..b9d414d23f 100644
--- a/Spigot-Server-Patches/0073-Add-methods-for-working-with-arrows-stuck-in-living-.patch
+++ b/Spigot-Server-Patches/0072-Add-methods-for-working-with-arrows-stuck-in-living-.patch
@@ -1,4 +1,4 @@
-From 91af7f355185096176f4070926669c40151b5333 Mon Sep 17 00:00:00 2001
+From 93008463fc0aeff69213286894da86add44a934b Mon Sep 17 00:00:00 2001
 From: mrapple <tony@oc.tc>
 Date: Sun, 25 Nov 2012 13:43:39 -0600
 Subject: [PATCH] Add methods for working with arrows stuck in living entities
diff --git a/Spigot-Server-Patches/0074-Complete-resource-pack-API.patch b/Spigot-Server-Patches/0073-Complete-resource-pack-API.patch
similarity index 98%
rename from Spigot-Server-Patches/0074-Complete-resource-pack-API.patch
rename to Spigot-Server-Patches/0073-Complete-resource-pack-API.patch
index 7a7c4da553..a782fba2df 100644
--- a/Spigot-Server-Patches/0074-Complete-resource-pack-API.patch
+++ b/Spigot-Server-Patches/0073-Complete-resource-pack-API.patch
@@ -1,4 +1,4 @@
-From 98ba9d47b5f6b8d99fd00e68ea966674c74f1890 Mon Sep 17 00:00:00 2001
+From a583c941f42db8331d0edfd157c9d568300e1a0a Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Sat, 4 Apr 2015 23:17:52 -0400
 Subject: [PATCH] Complete resource pack API
diff --git a/Spigot-Server-Patches/0075-Re-add-Spigot-s-hopper-check-feature.patch b/Spigot-Server-Patches/0074-Re-add-Spigot-s-hopper-check-feature.patch
similarity index 96%
rename from Spigot-Server-Patches/0075-Re-add-Spigot-s-hopper-check-feature.patch
rename to Spigot-Server-Patches/0074-Re-add-Spigot-s-hopper-check-feature.patch
index a6b21cc3ef..e6d31c12ec 100644
--- a/Spigot-Server-Patches/0075-Re-add-Spigot-s-hopper-check-feature.patch
+++ b/Spigot-Server-Patches/0074-Re-add-Spigot-s-hopper-check-feature.patch
@@ -1,4 +1,4 @@
-From ff7e19c54ec11a8211c8dbeca7e2e71802a23462 Mon Sep 17 00:00:00 2001
+From 420cb861f8b6dad37dd2700405637935cd23a682 Mon Sep 17 00:00:00 2001
 From: Byteflux <byte@byteflux.net>
 Date: Sat, 12 Mar 2016 13:37:50 -0600
 Subject: [PATCH] Re-add Spigot's hopper-check feature
diff --git a/Spigot-Server-Patches/0076-Chunk-save-queue-improvements.patch b/Spigot-Server-Patches/0075-Chunk-save-queue-improvements.patch
similarity index 99%
rename from Spigot-Server-Patches/0076-Chunk-save-queue-improvements.patch
rename to Spigot-Server-Patches/0075-Chunk-save-queue-improvements.patch
index 02fabe02dd..186e4bd3d7 100644
--- a/Spigot-Server-Patches/0076-Chunk-save-queue-improvements.patch
+++ b/Spigot-Server-Patches/0075-Chunk-save-queue-improvements.patch
@@ -1,4 +1,4 @@
-From 1082497acdfe306440b40df188fb49ec9e320efd Mon Sep 17 00:00:00 2001
+From aff4b290456e97c2fbc14b5b99a8bcd186f1a693 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 4 Mar 2016 18:18:37 -0600
 Subject: [PATCH] Chunk save queue improvements
diff --git a/Spigot-Server-Patches/0077-Chunk-Save-Reattempt.patch b/Spigot-Server-Patches/0076-Chunk-Save-Reattempt.patch
similarity index 97%
rename from Spigot-Server-Patches/0077-Chunk-Save-Reattempt.patch
rename to Spigot-Server-Patches/0076-Chunk-Save-Reattempt.patch
index 6c14b1ac37..d1a36fa93b 100644
--- a/Spigot-Server-Patches/0077-Chunk-Save-Reattempt.patch
+++ b/Spigot-Server-Patches/0076-Chunk-Save-Reattempt.patch
@@ -1,4 +1,4 @@
-From 89a3a519e4d2b83ea8d1ece326af825a76359f17 Mon Sep 17 00:00:00 2001
+From a71fb1acf842874b674263765f8685d47ae4aafa Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 4 Mar 2013 23:46:10 -0500
 Subject: [PATCH] Chunk Save Reattempt
diff --git a/Spigot-Server-Patches/0078-Default-loading-permissions.yml-before-plugins.patch b/Spigot-Server-Patches/0077-Default-loading-permissions.yml-before-plugins.patch
similarity index 97%
rename from Spigot-Server-Patches/0078-Default-loading-permissions.yml-before-plugins.patch
rename to Spigot-Server-Patches/0077-Default-loading-permissions.yml-before-plugins.patch
index 5ecb202e54..b721a25bbb 100644
--- a/Spigot-Server-Patches/0078-Default-loading-permissions.yml-before-plugins.patch
+++ b/Spigot-Server-Patches/0077-Default-loading-permissions.yml-before-plugins.patch
@@ -1,4 +1,4 @@
-From 6767ecd0b2bdd6694d872ac098e9575f0e5f0248 Mon Sep 17 00:00:00 2001
+From 913b7a2ebb69c79d655cdba8b0402a996045cfe9 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 18 Mar 2016 13:17:38 -0400
 Subject: [PATCH] Default loading permissions.yml before plugins
diff --git a/Spigot-Server-Patches/0079-Allow-Reloading-of-Custom-Permissions.patch b/Spigot-Server-Patches/0078-Allow-Reloading-of-Custom-Permissions.patch
similarity index 95%
rename from Spigot-Server-Patches/0079-Allow-Reloading-of-Custom-Permissions.patch
rename to Spigot-Server-Patches/0078-Allow-Reloading-of-Custom-Permissions.patch
index 90e7c51e39..56f6003995 100644
--- a/Spigot-Server-Patches/0079-Allow-Reloading-of-Custom-Permissions.patch
+++ b/Spigot-Server-Patches/0078-Allow-Reloading-of-Custom-Permissions.patch
@@ -1,4 +1,4 @@
-From 5f65cecee125448dd46386c3a7a5e88bff946270 Mon Sep 17 00:00:00 2001
+From a692352ea8fce1de2f01d97711e4a3b5dc7b4ec3 Mon Sep 17 00:00:00 2001
 From: William <admin@domnian.com>
 Date: Fri, 18 Mar 2016 03:30:17 -0400
 Subject: [PATCH] Allow Reloading of Custom Permissions
diff --git a/Spigot-Server-Patches/0080-Remove-Metadata-on-reload.patch b/Spigot-Server-Patches/0079-Remove-Metadata-on-reload.patch
similarity index 94%
rename from Spigot-Server-Patches/0080-Remove-Metadata-on-reload.patch
rename to Spigot-Server-Patches/0079-Remove-Metadata-on-reload.patch
index 9a0ff0edc6..1087231814 100644
--- a/Spigot-Server-Patches/0080-Remove-Metadata-on-reload.patch
+++ b/Spigot-Server-Patches/0079-Remove-Metadata-on-reload.patch
@@ -1,4 +1,4 @@
-From 469ab12bed07d8349d8e46c14d2aec61c6f375e1 Mon Sep 17 00:00:00 2001
+From d09a45e281463742aa26b2f37f42411346161314 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 18 Mar 2016 13:50:14 -0400
 Subject: [PATCH] Remove Metadata on reload
diff --git a/Spigot-Server-Patches/0081-Undead-horse-leashing.patch b/Spigot-Server-Patches/0080-Undead-horse-leashing.patch
similarity index 95%
rename from Spigot-Server-Patches/0081-Undead-horse-leashing.patch
rename to Spigot-Server-Patches/0080-Undead-horse-leashing.patch
index 0c5258512c..b6181ef52d 100644
--- a/Spigot-Server-Patches/0081-Undead-horse-leashing.patch
+++ b/Spigot-Server-Patches/0080-Undead-horse-leashing.patch
@@ -1,4 +1,4 @@
-From b6c9198666362fafdb1113d0fc4e3d49390cd845 Mon Sep 17 00:00:00 2001
+From 20309f9506d73253a2e1ec0055805ecde69f02fb Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 18 Mar 2016 14:19:19 -0400
 Subject: [PATCH] Undead horse leashing
diff --git a/Spigot-Server-Patches/0082-Fix-Furnace-cook-time-bug.patch b/Spigot-Server-Patches/0081-Fix-Furnace-cook-time-bug.patch
similarity index 94%
rename from Spigot-Server-Patches/0082-Fix-Furnace-cook-time-bug.patch
rename to Spigot-Server-Patches/0081-Fix-Furnace-cook-time-bug.patch
index 85d7f7506c..8678566dbd 100644
--- a/Spigot-Server-Patches/0082-Fix-Furnace-cook-time-bug.patch
+++ b/Spigot-Server-Patches/0081-Fix-Furnace-cook-time-bug.patch
@@ -1,4 +1,4 @@
-From 03ac1c1a1577ede07787c0ffb012a32d2c76021b Mon Sep 17 00:00:00 2001
+From f8841a72c02e9282be1739d120943ae0c00279d4 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 18 Mar 2016 14:24:53 -0400
 Subject: [PATCH] Fix Furnace cook time bug
diff --git a/Spigot-Server-Patches/0083-Handle-Item-Meta-Inconsistencies.patch b/Spigot-Server-Patches/0082-Handle-Item-Meta-Inconsistencies.patch
similarity index 99%
rename from Spigot-Server-Patches/0083-Handle-Item-Meta-Inconsistencies.patch
rename to Spigot-Server-Patches/0082-Handle-Item-Meta-Inconsistencies.patch
index 95d23eeefe..db5d3b5a47 100644
--- a/Spigot-Server-Patches/0083-Handle-Item-Meta-Inconsistencies.patch
+++ b/Spigot-Server-Patches/0082-Handle-Item-Meta-Inconsistencies.patch
@@ -1,4 +1,4 @@
-From 5a9cce0d979b8f386d5bd14e7d8f79b883d9450f Mon Sep 17 00:00:00 2001
+From 7f4112d646d99c9b3b8c02f8956b3186eb3cbb61 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Thu, 28 May 2015 23:00:19 -0400
 Subject: [PATCH] Handle Item Meta Inconsistencies
diff --git a/Spigot-Server-Patches/0084-Configurable-Non-Player-Arrow-Despawn-Rate.patch b/Spigot-Server-Patches/0083-Configurable-Non-Player-Arrow-Despawn-Rate.patch
similarity index 96%
rename from Spigot-Server-Patches/0084-Configurable-Non-Player-Arrow-Despawn-Rate.patch
rename to Spigot-Server-Patches/0083-Configurable-Non-Player-Arrow-Despawn-Rate.patch
index b21ba7be0b..4dd271249d 100644
--- a/Spigot-Server-Patches/0084-Configurable-Non-Player-Arrow-Despawn-Rate.patch
+++ b/Spigot-Server-Patches/0083-Configurable-Non-Player-Arrow-Despawn-Rate.patch
@@ -1,4 +1,4 @@
-From 646fe3e6b248037980db9a34ce73a5d1597787fa Mon Sep 17 00:00:00 2001
+From d041dc5744a8c53ce8ae8803331ed26d69c7b4b0 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 18 Mar 2016 15:12:22 -0400
 Subject: [PATCH] Configurable Non Player Arrow Despawn Rate
diff --git a/Spigot-Server-Patches/0085-Add-World-Util-Methods.patch b/Spigot-Server-Patches/0084-Add-World-Util-Methods.patch
similarity index 98%
rename from Spigot-Server-Patches/0085-Add-World-Util-Methods.patch
rename to Spigot-Server-Patches/0084-Add-World-Util-Methods.patch
index 9db5b8058d..36f8c9a823 100644
--- a/Spigot-Server-Patches/0085-Add-World-Util-Methods.patch
+++ b/Spigot-Server-Patches/0084-Add-World-Util-Methods.patch
@@ -1,4 +1,4 @@
-From 774ef91a1facbc95c2553fdcf3ff263997d91030 Mon Sep 17 00:00:00 2001
+From c4a425cbbbb658a9efb4969c4b959e700379fdf5 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 18 Mar 2016 20:16:03 -0400
 Subject: [PATCH] Add World Util Methods
diff --git a/Spigot-Server-Patches/0086-Optimized-Light-Level-Comparisons.patch b/Spigot-Server-Patches/0085-Optimized-Light-Level-Comparisons.patch
similarity index 99%
rename from Spigot-Server-Patches/0086-Optimized-Light-Level-Comparisons.patch
rename to Spigot-Server-Patches/0085-Optimized-Light-Level-Comparisons.patch
index 7f4a6d0078..decdf64a21 100644
--- a/Spigot-Server-Patches/0086-Optimized-Light-Level-Comparisons.patch
+++ b/Spigot-Server-Patches/0085-Optimized-Light-Level-Comparisons.patch
@@ -1,4 +1,4 @@
-From 9a613f51aa662677034ca6ae4b50e4834470a8cb Mon Sep 17 00:00:00 2001
+From 91c2e62925acb46c336de017322ee57ab965c3c0 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 18 Mar 2016 21:22:56 -0400
 Subject: [PATCH] Optimized Light Level Comparisons
diff --git a/Spigot-Server-Patches/0087-Pass-world-to-Village-creation.patch b/Spigot-Server-Patches/0086-Pass-world-to-Village-creation.patch
similarity index 95%
rename from Spigot-Server-Patches/0087-Pass-world-to-Village-creation.patch
rename to Spigot-Server-Patches/0086-Pass-world-to-Village-creation.patch
index 374e972988..c9f914de33 100644
--- a/Spigot-Server-Patches/0087-Pass-world-to-Village-creation.patch
+++ b/Spigot-Server-Patches/0086-Pass-world-to-Village-creation.patch
@@ -1,4 +1,4 @@
-From dfcc0ce210acfc019a056521d045530c84b27c9c Mon Sep 17 00:00:00 2001
+From 11a94ee75fa7051513d0447c5dd2e6bc43e440ab Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sat, 19 Mar 2016 15:16:54 -0400
 Subject: [PATCH] Pass world to Village creation
diff --git a/Spigot-Server-Patches/0088-Custom-replacement-for-eaten-items.patch b/Spigot-Server-Patches/0087-Custom-replacement-for-eaten-items.patch
similarity index 96%
rename from Spigot-Server-Patches/0088-Custom-replacement-for-eaten-items.patch
rename to Spigot-Server-Patches/0087-Custom-replacement-for-eaten-items.patch
index 1dc0f3472c..f1ee55f849 100644
--- a/Spigot-Server-Patches/0088-Custom-replacement-for-eaten-items.patch
+++ b/Spigot-Server-Patches/0087-Custom-replacement-for-eaten-items.patch
@@ -1,4 +1,4 @@
-From d7da853993caa9fb5552c447700a55d8955499fa Mon Sep 17 00:00:00 2001
+From 4249673124a2de38a0d6f8f81ff64379780f36f0 Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Sun, 21 Jun 2015 15:07:20 -0400
 Subject: [PATCH] Custom replacement for eaten items
diff --git a/Spigot-Server-Patches/0089-Set-health-before-death-event.patch b/Spigot-Server-Patches/0088-Set-health-before-death-event.patch
similarity index 96%
rename from Spigot-Server-Patches/0089-Set-health-before-death-event.patch
rename to Spigot-Server-Patches/0088-Set-health-before-death-event.patch
index 5371e87213..8d7c690bfc 100644
--- a/Spigot-Server-Patches/0089-Set-health-before-death-event.patch
+++ b/Spigot-Server-Patches/0088-Set-health-before-death-event.patch
@@ -1,4 +1,4 @@
-From e00d6b5e984f4094d39d50abdaa0e9c0f38c985a Mon Sep 17 00:00:00 2001
+From a6d981de32a11967e9073a6f8530a05c3c5d5dde Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Sun, 19 Jul 2015 16:51:38 -0400
 Subject: [PATCH] Set health before death event
diff --git a/Spigot-Server-Patches/0090-handle-NaN-health-absorb-values-and-repair-bad-data.patch b/Spigot-Server-Patches/0089-handle-NaN-health-absorb-values-and-repair-bad-data.patch
similarity index 97%
rename from Spigot-Server-Patches/0090-handle-NaN-health-absorb-values-and-repair-bad-data.patch
rename to Spigot-Server-Patches/0089-handle-NaN-health-absorb-values-and-repair-bad-data.patch
index 7b0899c8c3..3ddeeef863 100644
--- a/Spigot-Server-Patches/0090-handle-NaN-health-absorb-values-and-repair-bad-data.patch
+++ b/Spigot-Server-Patches/0089-handle-NaN-health-absorb-values-and-repair-bad-data.patch
@@ -1,4 +1,4 @@
-From 2486ffed9b27c2bc743fdbeca5011f39322c701d Mon Sep 17 00:00:00 2001
+From cfa7b89e6571573602f9286f3e188a219b259698 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sun, 27 Sep 2015 01:18:02 -0400
 Subject: [PATCH] handle NaN health/absorb values and repair bad data
diff --git a/Spigot-Server-Patches/0091-Catch-Async-PlayerChunkMap-operations.patch b/Spigot-Server-Patches/0090-Catch-Async-PlayerChunkMap-operations.patch
similarity index 93%
rename from Spigot-Server-Patches/0091-Catch-Async-PlayerChunkMap-operations.patch
rename to Spigot-Server-Patches/0090-Catch-Async-PlayerChunkMap-operations.patch
index c8f1aa05b1..0374450e54 100644
--- a/Spigot-Server-Patches/0091-Catch-Async-PlayerChunkMap-operations.patch
+++ b/Spigot-Server-Patches/0090-Catch-Async-PlayerChunkMap-operations.patch
@@ -1,4 +1,4 @@
-From 047cb571ae5bebf5552dae64251c9798f4aea496 Mon Sep 17 00:00:00 2001
+From e3ba0fd0099369577e52fad29db661e97692ee11 Mon Sep 17 00:00:00 2001
 From: Daniel Ennis <dennis@icontact.com>
 Date: Sun, 20 Mar 2016 15:22:42 -0400
 Subject: [PATCH] Catch Async PlayerChunkMap operations
diff --git a/Spigot-Server-Patches/0092-Support-offline-mode-in-whitelist-command-as-well.patch b/Spigot-Server-Patches/0091-Support-offline-mode-in-whitelist-command-as-well.patch
similarity index 98%
rename from Spigot-Server-Patches/0092-Support-offline-mode-in-whitelist-command-as-well.patch
rename to Spigot-Server-Patches/0091-Support-offline-mode-in-whitelist-command-as-well.patch
index 0cceb649cf..5ca911cc99 100644
--- a/Spigot-Server-Patches/0092-Support-offline-mode-in-whitelist-command-as-well.patch
+++ b/Spigot-Server-Patches/0091-Support-offline-mode-in-whitelist-command-as-well.patch
@@ -1,4 +1,4 @@
-From 347f67ad379a3896b94e16eef873877d4a11f552 Mon Sep 17 00:00:00 2001
+From 9b45817648bcf287ebb160f0fde6bc5c71c965b9 Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Mon, 21 Mar 2016 00:19:18 -0500
 Subject: [PATCH] Support offline mode in whitelist command as well
diff --git a/Spigot-Server-Patches/0093-Fix-SkullCache-case-bug.patch b/Spigot-Server-Patches/0092-Fix-SkullCache-case-bug.patch
similarity index 94%
rename from Spigot-Server-Patches/0093-Fix-SkullCache-case-bug.patch
rename to Spigot-Server-Patches/0092-Fix-SkullCache-case-bug.patch
index c978f83880..32fc9d4314 100644
--- a/Spigot-Server-Patches/0093-Fix-SkullCache-case-bug.patch
+++ b/Spigot-Server-Patches/0092-Fix-SkullCache-case-bug.patch
@@ -1,4 +1,4 @@
-From 6a32f12665124c6a996667bef11906a2d11bcc73 Mon Sep 17 00:00:00 2001
+From 567933cffee3dee78675df9fefb8dc3818e26cc6 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Tue, 5 Jan 2016 21:48:24 -0500
 Subject: [PATCH] Fix SkullCache case bug
diff --git a/Spigot-Server-Patches/0094-Waving-banner-workaround.patch b/Spigot-Server-Patches/0093-Waving-banner-workaround.patch
similarity index 95%
rename from Spigot-Server-Patches/0094-Waving-banner-workaround.patch
rename to Spigot-Server-Patches/0093-Waving-banner-workaround.patch
index 9a769f357f..c6ccdd5668 100644
--- a/Spigot-Server-Patches/0094-Waving-banner-workaround.patch
+++ b/Spigot-Server-Patches/0093-Waving-banner-workaround.patch
@@ -1,4 +1,4 @@
-From 622aaa52969e38210d9fb21cdcb4d50733e0fbbe Mon Sep 17 00:00:00 2001
+From 0754b1047b0b70fc03196ae2754d6b87355061b5 Mon Sep 17 00:00:00 2001
 From: Gabscap <sonstige.netzwerke@gabriel-paradzik.de>
 Date: Sat, 19 Mar 2016 22:25:11 +0100
 Subject: [PATCH] Waving banner workaround
diff --git a/Spigot-Server-Patches/0095-Use-a-Shared-Random-for-Entities.patch b/Spigot-Server-Patches/0094-Use-a-Shared-Random-for-Entities.patch
similarity index 95%
rename from Spigot-Server-Patches/0095-Use-a-Shared-Random-for-Entities.patch
rename to Spigot-Server-Patches/0094-Use-a-Shared-Random-for-Entities.patch
index 092d7bd5cf..d3a23cb560 100644
--- a/Spigot-Server-Patches/0095-Use-a-Shared-Random-for-Entities.patch
+++ b/Spigot-Server-Patches/0094-Use-a-Shared-Random-for-Entities.patch
@@ -1,4 +1,4 @@
-From fe4e74f137ae6f78391549744051b88ea46ba584 Mon Sep 17 00:00:00 2001
+From 95cd62455ffa927843a8833c9d2b9bbb80d2998c Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Tue, 22 Mar 2016 00:33:47 -0400
 Subject: [PATCH] Use a Shared Random for Entities
diff --git a/Spigot-Server-Patches/0096-Don-t-teleport-dead-entities.patch b/Spigot-Server-Patches/0095-Don-t-teleport-dead-entities.patch
similarity index 93%
rename from Spigot-Server-Patches/0096-Don-t-teleport-dead-entities.patch
rename to Spigot-Server-Patches/0095-Don-t-teleport-dead-entities.patch
index c864a8e85d..73459195b2 100644
--- a/Spigot-Server-Patches/0096-Don-t-teleport-dead-entities.patch
+++ b/Spigot-Server-Patches/0095-Don-t-teleport-dead-entities.patch
@@ -1,4 +1,4 @@
-From 01685a4f00fb187001f989b8839d1368db7b6e55 Mon Sep 17 00:00:00 2001
+From 14040aaa93730c538cd6b521cf1ed838475a21d6 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Tue, 22 Mar 2016 00:55:23 -0400
 Subject: [PATCH] Don't teleport dead entities
diff --git a/Spigot-Server-Patches/0097-Optimize-Chunk-Access.patch b/Spigot-Server-Patches/0096-Optimize-Chunk-Access.patch
similarity index 96%
rename from Spigot-Server-Patches/0097-Optimize-Chunk-Access.patch
rename to Spigot-Server-Patches/0096-Optimize-Chunk-Access.patch
index 1b76ee9371..e5f17f13f8 100644
--- a/Spigot-Server-Patches/0097-Optimize-Chunk-Access.patch
+++ b/Spigot-Server-Patches/0096-Optimize-Chunk-Access.patch
@@ -1,4 +1,4 @@
-From e5e40424dbd26cdf7935353671f5322e25464303 Mon Sep 17 00:00:00 2001
+From 11f18326b98f9ebe0906aee6bad03a02e9ab6f95 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Thu, 27 Aug 2015 01:15:02 -0400
 Subject: [PATCH] Optimize Chunk Access
diff --git a/Spigot-Server-Patches/0098-Configurable-spawn-chances-for-skeleton-horses.patch b/Spigot-Server-Patches/0097-Configurable-spawn-chances-for-skeleton-horses.patch
similarity index 96%
rename from Spigot-Server-Patches/0098-Configurable-spawn-chances-for-skeleton-horses.patch
rename to Spigot-Server-Patches/0097-Configurable-spawn-chances-for-skeleton-horses.patch
index 1bb648e056..a89445e0e8 100644
--- a/Spigot-Server-Patches/0098-Configurable-spawn-chances-for-skeleton-horses.patch
+++ b/Spigot-Server-Patches/0097-Configurable-spawn-chances-for-skeleton-horses.patch
@@ -1,4 +1,4 @@
-From 5ddb0e43c99a57e1a2e606e99ec3555cd5cb8e82 Mon Sep 17 00:00:00 2001
+From 6f05d463f21dfc2c75c1f508dae7efe5ab405859 Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Tue, 22 Mar 2016 12:04:28 -0500
 Subject: [PATCH] Configurable spawn chances for skeleton horses
diff --git a/Spigot-Server-Patches/0098-Optimize-isValidLocation-getType-and-getBlockData-fo.patch b/Spigot-Server-Patches/0098-Optimize-isValidLocation-getType-and-getBlockData-fo.patch
new file mode 100644
index 0000000000..25f628fdda
--- /dev/null
+++ b/Spigot-Server-Patches/0098-Optimize-isValidLocation-getType-and-getBlockData-fo.patch
@@ -0,0 +1,259 @@
+From 97e8ff8186b89c486bcc524a2c81c5864fd14ca4 Mon Sep 17 00:00:00 2001
+From: Aikar <aikar@aikar.co>
+Date: Thu, 3 Mar 2016 02:07:55 -0600
+Subject: [PATCH] Optimize isValidLocation, getType and getBlockData for inling
+
+Hot methods, so reduce # of instructions for the method.
+
+Move is valid location test to the BlockPosition class so that it can access local variables.
+
+Replace all calls to the new place to the unnecessary forward.
+
+Optimize getType and getBlockData to manually inline and optimize the calls
+
+diff --git a/src/main/java/net/minecraft/server/BaseBlockPosition.java b/src/main/java/net/minecraft/server/BaseBlockPosition.java
+index d60e755..f772c7c 100644
+--- a/src/main/java/net/minecraft/server/BaseBlockPosition.java
++++ b/src/main/java/net/minecraft/server/BaseBlockPosition.java
+@@ -10,6 +10,14 @@ public class BaseBlockPosition implements Comparable<BaseBlockPosition> {
+     private final int a;
+     private final int b;
+     private final int c;
++    // Paper start
++    public boolean isValidLocation() {
++        return a >= -30000000 && c >= -30000000 && a < 30000000 && c < 30000000 && b >= 0 && b < 256;
++    }
++    public boolean isInvalidYLocation() {
++        return b < 0 || b >= 256;
++    }
++    // Paper end
+ 
+     public BaseBlockPosition(int i, int j, int k) {
+         this.a = i;
+diff --git a/src/main/java/net/minecraft/server/BlockPosition.java b/src/main/java/net/minecraft/server/BlockPosition.java
+index 8603d83..704faa9 100644
+--- a/src/main/java/net/minecraft/server/BlockPosition.java
++++ b/src/main/java/net/minecraft/server/BlockPosition.java
+@@ -326,6 +326,16 @@ public class BlockPosition extends BaseBlockPosition {
+         protected int b;
+         protected int c;
+         protected int d;
++        // Paper start
++        @Override
++        public boolean isValidLocation() {
++            return b >= -30000000 && d >= -30000000 && b < 30000000 && d < 30000000 && c >= 0 && c < 256;
++        }
++        @Override
++        public boolean isInvalidYLocation() {
++            return c < 0 || c >= 256;
++        }
++        // Paper end
+ 
+         public MutableBlockPosition() {
+             this(0, 0, 0);
+diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
+index bc55a2b..c7452d9 100644
+--- a/src/main/java/net/minecraft/server/Chunk.java
++++ b/src/main/java/net/minecraft/server/Chunk.java
+@@ -406,11 +406,26 @@ public class Chunk {
+         return this.a(i, j, k).c();
+     }
+ 
+-    public IBlockData getBlockData(BlockPosition blockposition) {
+-        return this.a(blockposition.getX(), blockposition.getY(), blockposition.getZ());
++    // Paper start - Optimize getBlockData to reduce instructions
++    public final IBlockData getBlockData(final BlockPosition pos) {
++        return getBlockData(pos.getX(), pos.getY(), pos.getZ());
++    }
++
++    public final IBlockData getBlockData(final int x, final int y, final int z) {
++        // Method body / logic copied from below
++        final int i = y >> 4;
++        if (y >= 0 && i < this.sections.length && this.sections[i] != null) {
++            // Inlined ChunkSection.getType() and DataPaletteBlock.a(int,int,int)
++            return this.sections[i].blockIds.a((y & 15) << 8 | (z & 15) << 4 | x & 15);
++        }
++        return Blocks.AIR.getBlockData();
+     }
+ 
+     public IBlockData a(final int i, final int j, final int k) {
++        return getBlockData(i, j, k);
++    }
++    public IBlockData unused(final int i, final int j, final int k) {
++    // Paper end
+         if (this.world.L() == WorldType.DEBUG_ALL_BLOCK_STATES) {
+             IBlockData iblockdata = null;
+ 
+diff --git a/src/main/java/net/minecraft/server/ChunkSection.java b/src/main/java/net/minecraft/server/ChunkSection.java
+index fc5c895..a12fa23 100644
+--- a/src/main/java/net/minecraft/server/ChunkSection.java
++++ b/src/main/java/net/minecraft/server/ChunkSection.java
+@@ -5,7 +5,7 @@ public class ChunkSection {
+     private final int yPos;
+     private int nonEmptyBlockCount;
+     private int tickingBlockCount;
+-    private final DataPaletteBlock blockIds;
++    final DataPaletteBlock blockIds; // Paper - package
+     private NibbleArray emittedLight;
+     private NibbleArray skyLight;
+ 
+diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
+index 12f6761..54d1442 100644
+--- a/src/main/java/net/minecraft/server/World.java
++++ b/src/main/java/net/minecraft/server/World.java
+@@ -274,12 +274,12 @@ public abstract class World implements IBlockAccess {
+         return this.getType(blockposition1);
+     }
+ 
+-    private boolean isValidLocation(BlockPosition blockposition) {
+-        return !this.E(blockposition) && blockposition.getX() >= -30000000 && blockposition.getZ() >= -30000000 && blockposition.getX() < 30000000 && blockposition.getZ() < 30000000;
++    private static boolean isValidLocation(BlockPosition blockposition) { // Paper - unused but incase reflection / future uses
++        return blockposition.isValidLocation(); // Paper
+     }
+ 
+-    private boolean E(BlockPosition blockposition) {
+-        return blockposition.getY() < 0 || blockposition.getY() >= 256;
++    private static boolean E(BlockPosition blockposition) { // Paper - unused but incase reflection / future uses
++        return blockposition.isInvalidYLocation(); // Paper
+     }
+ 
+     public boolean isEmpty(BlockPosition blockposition) {
+@@ -371,7 +371,7 @@ public abstract class World implements IBlockAccess {
+             return true;
+         }
+         // CraftBukkit end
+-        if (this.E(blockposition)) {
++        if (blockposition.isInvalidYLocation()) { // Paper
+             return false;
+         } else if (!this.isClientSide && this.worldData.getType() == WorldType.DEBUG_ALL_BLOCK_STATES) {
+             return false;
+@@ -639,7 +639,7 @@ public abstract class World implements IBlockAccess {
+     // Paper start - test if meets light level, return faster
+     // logic copied from below
+     public boolean isLightLevel(BlockPosition blockposition, int level) {
+-        if (isValidLocation(blockposition)) {
++        if (blockposition.isValidLocation()) {
+             if (this.getType(blockposition).f()) {
+                 if (this.c(blockposition.up(), false) >= level) {
+                     return true;
+@@ -757,7 +757,7 @@ public abstract class World implements IBlockAccess {
+             blockposition = new BlockPosition(blockposition.getX(), 0, blockposition.getZ());
+         }
+ 
+-        if (!this.isValidLocation(blockposition)) {
++        if (!blockposition.isValidLocation()) { // Paper
+             return enumskyblock.c;
+         } else if (!this.isLoaded(blockposition)) {
+             return enumskyblock.c;
+@@ -769,7 +769,7 @@ public abstract class World implements IBlockAccess {
+     }
+ 
+     public void a(EnumSkyBlock enumskyblock, BlockPosition blockposition, int i) {
+-        if (this.isValidLocation(blockposition)) {
++        if (blockposition.isValidLocation()) { // Paper
+             if (this.isLoaded(blockposition)) {
+                 Chunk chunk = this.getChunkAtWorldCoords(blockposition);
+ 
+@@ -793,19 +793,19 @@ public abstract class World implements IBlockAccess {
+     // Paper start - reduces need to do isLoaded before getType
+     public IBlockData getTypeIfLoaded(BlockPosition blockposition) {
+         // CraftBukkit start - tree generation
++        final int x = blockposition.getX();
++        final int y = blockposition.getY();
++        final int z = blockposition.getZ();
+         if (captureTreeGeneration) {
+-            Iterator<BlockState> it = capturedBlockStates.iterator();
+-            while (it.hasNext()) {
+-                BlockState previous = it.next();
+-                if (previous.getX() == blockposition.getX() && previous.getY() == blockposition.getY() && previous.getZ() == blockposition.getZ()) {
+-                    return CraftMagicNumbers.getBlock(previous.getTypeId()).fromLegacyData(previous.getRawData());
+-                }
++            final IBlockData previous = getCapturedBlockType(x, y, z);
++            if (previous != null) {
++                return previous;
+             }
+         }
+         // CraftBukkit end
+-        Chunk chunk = this.getChunkIfLoaded(blockposition);
++        Chunk chunk = ((ChunkProviderServer) this.chunkProvider).getChunkIfLoaded(x >> 4, z >> 4);
+         if (chunk != null) {
+-            return this.isValidLocation(blockposition) ? chunk.getBlockData(blockposition) : Blocks.AIR.getBlockData();
++            return chunk.getBlockData(x, y, z);
+         }
+         return null;
+     }
+@@ -813,24 +813,33 @@ public abstract class World implements IBlockAccess {
+ 
+     public IBlockData getType(BlockPosition blockposition) {
+         // CraftBukkit start - tree generation
++        // Paper start - optimize getType lookup to reduce instructions - getBlockData already enforces valid Y, move tree out
++        final int x = blockposition.getX();
++        final int y = blockposition.getY();
++        final int z = blockposition.getZ();
+         if (captureTreeGeneration) {
+-            Iterator<BlockState> it = capturedBlockStates.iterator();
+-            while (it.hasNext()) {
+-                BlockState previous = it.next();
+-                if (previous.getX() == blockposition.getX() && previous.getY() == blockposition.getY() && previous.getZ() == blockposition.getZ()) {
+-                    return CraftMagicNumbers.getBlock(previous.getTypeId()).fromLegacyData(previous.getRawData());
+-                }
++            final IBlockData previous = getCapturedBlockType(x, y, z);
++            if (previous != null) {
++                return previous;
+             }
+         }
+         // CraftBukkit end
+-        if (this.E(blockposition)) {
+-            return Blocks.AIR.getBlockData();
+-        } else {
+-            Chunk chunk = this.getChunkAtWorldCoords(blockposition);
++        return this.chunkProvider.getChunkAt(x >> 4, z >> 4).getBlockData(x, y, z);
++        // Paper end
++    }
+ 
+-            return chunk.getBlockData(blockposition);
++    // Paper start
++    private IBlockData getCapturedBlockType(int x, int y, int z) {
++        Iterator<BlockState> it = capturedBlockStates.iterator();
++        while (it.hasNext()) {
++            BlockState previous = it.next();
++            if (previous.getX() == x && previous.getY() == y && previous.getZ() == z) {
++                return CraftMagicNumbers.getBlock(previous.getTypeId()).fromLegacyData(previous.getRawData());
++            }
+         }
++        return null;
+     }
++    // Paper end
+ 
+     public boolean B() {
+         return this.J < 4;
+@@ -2051,7 +2060,7 @@ public abstract class World implements IBlockAccess {
+     public Map<BlockPosition, TileEntity> capturedTileEntities = Maps.newHashMap();
+     @Nullable
+     public TileEntity getTileEntity(BlockPosition blockposition) {
+-        if (this.E(blockposition)) {
++        if (blockposition.isInvalidYLocation()) { // Paper
+             return null;
+         } else {
+             // CraftBukkit start
+@@ -2092,7 +2101,7 @@ public abstract class World implements IBlockAccess {
+     }
+ 
+     public void setTileEntity(BlockPosition blockposition, @Nullable TileEntity tileentity) {
+-        if (!this.E(blockposition)) {
++        if (!blockposition.isInvalidYLocation()) { // Paper
+             if (tileentity != null && !tileentity.x()) {
+             // CraftBukkit start
+             if (captureBlockStates) {
+@@ -2155,7 +2164,7 @@ public abstract class World implements IBlockAccess {
+     }
+ 
+     public boolean d(BlockPosition blockposition, boolean flag) {
+-        if (this.E(blockposition)) {
++        if (blockposition.isInvalidYLocation()) { // Paper
+             return false;
+         } else {
+             Chunk chunk = this.chunkProvider.getLoadedChunkAt(blockposition.getX() >> 4, blockposition.getZ() >> 4);
+-- 
+2.9.0
+
diff --git a/Spigot-Server-Patches/0099-Optimize-isValidLocation-for-inlining.patch b/Spigot-Server-Patches/0099-Optimize-isValidLocation-for-inlining.patch
deleted file mode 100644
index 2f272cf85c..0000000000
--- a/Spigot-Server-Patches/0099-Optimize-isValidLocation-for-inlining.patch
+++ /dev/null
@@ -1,96 +0,0 @@
-From 5c67471847f9f1f0efc8f68a1675aeed56250f41 Mon Sep 17 00:00:00 2001
-From: Aikar <aikar@aikar.co>
-Date: Tue, 22 Mar 2016 23:41:34 -0400
-Subject: [PATCH] Optimize isValidLocation for inlining
-
-Move test to the blockPosition class so that it can access local variables.
-
-Replace all calls to the new place to the unnecessary forward.
-
-diff --git a/src/main/java/net/minecraft/server/BaseBlockPosition.java b/src/main/java/net/minecraft/server/BaseBlockPosition.java
-index d60e755..9114388 100644
---- a/src/main/java/net/minecraft/server/BaseBlockPosition.java
-+++ b/src/main/java/net/minecraft/server/BaseBlockPosition.java
-@@ -10,6 +10,11 @@ public class BaseBlockPosition implements Comparable<BaseBlockPosition> {
-     private final int a;
-     private final int b;
-     private final int c;
-+    // Paper start
-+    public boolean isValidLocation() {
-+        return a >= -30000000 && c >= -30000000 && a < 30000000 && c < 30000000 && b >= 0 && b < 256;
-+    }
-+    // Paper end
- 
-     public BaseBlockPosition(int i, int j, int k) {
-         this.a = i;
-diff --git a/src/main/java/net/minecraft/server/BlockPosition.java b/src/main/java/net/minecraft/server/BlockPosition.java
-index 8603d83..9ba987a 100644
---- a/src/main/java/net/minecraft/server/BlockPosition.java
-+++ b/src/main/java/net/minecraft/server/BlockPosition.java
-@@ -326,6 +326,12 @@ public class BlockPosition extends BaseBlockPosition {
-         protected int b;
-         protected int c;
-         protected int d;
-+        // Paper start
-+        @Override
-+        public boolean isValidLocation() {
-+            return this.getX() >= -30000000 && this.getZ() >= -30000000 && this.getX() < 30000000 && this.getZ() < 30000000 && this.getY() >= 0 && this.getY() < 256;
-+        }
-+        // Paper end
- 
-         public MutableBlockPosition() {
-             this(0, 0, 0);
-diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index 12f6761..8233ee7 100644
---- a/src/main/java/net/minecraft/server/World.java
-+++ b/src/main/java/net/minecraft/server/World.java
-@@ -274,8 +274,8 @@ public abstract class World implements IBlockAccess {
-         return this.getType(blockposition1);
-     }
- 
--    private boolean isValidLocation(BlockPosition blockposition) {
--        return !this.E(blockposition) && blockposition.getX() >= -30000000 && blockposition.getZ() >= -30000000 && blockposition.getX() < 30000000 && blockposition.getZ() < 30000000;
-+    private static boolean isValidLocation(BlockPosition blockposition) { // Paper
-+        return blockposition.isValidLocation(); // Paper
-     }
- 
-     private boolean E(BlockPosition blockposition) {
-@@ -639,7 +639,7 @@ public abstract class World implements IBlockAccess {
-     // Paper start - test if meets light level, return faster
-     // logic copied from below
-     public boolean isLightLevel(BlockPosition blockposition, int level) {
--        if (isValidLocation(blockposition)) {
-+        if (blockposition.isValidLocation()) {
-             if (this.getType(blockposition).f()) {
-                 if (this.c(blockposition.up(), false) >= level) {
-                     return true;
-@@ -757,7 +757,7 @@ public abstract class World implements IBlockAccess {
-             blockposition = new BlockPosition(blockposition.getX(), 0, blockposition.getZ());
-         }
- 
--        if (!this.isValidLocation(blockposition)) {
-+        if (!blockposition.isValidLocation()) { // Paper
-             return enumskyblock.c;
-         } else if (!this.isLoaded(blockposition)) {
-             return enumskyblock.c;
-@@ -769,7 +769,7 @@ public abstract class World implements IBlockAccess {
-     }
- 
-     public void a(EnumSkyBlock enumskyblock, BlockPosition blockposition, int i) {
--        if (this.isValidLocation(blockposition)) {
-+        if (blockposition.isValidLocation()) { // Paper
-             if (this.isLoaded(blockposition)) {
-                 Chunk chunk = this.getChunkAtWorldCoords(blockposition);
- 
-@@ -805,7 +805,7 @@ public abstract class World implements IBlockAccess {
-         // CraftBukkit end
-         Chunk chunk = this.getChunkIfLoaded(blockposition);
-         if (chunk != null) {
--            return this.isValidLocation(blockposition) ? chunk.getBlockData(blockposition) : Blocks.AIR.getBlockData();
-+            return blockposition.isValidLocation() ? chunk.getBlockData(blockposition) : Blocks.AIR.getBlockData();
-         }
-         return null;
-     }
--- 
-2.9.0
-
diff --git a/Spigot-Server-Patches/0100-Use-correct-item-in-arrow-pickup-event.patch b/Spigot-Server-Patches/0099-Use-correct-item-in-arrow-pickup-event.patch
similarity index 96%
rename from Spigot-Server-Patches/0100-Use-correct-item-in-arrow-pickup-event.patch
rename to Spigot-Server-Patches/0099-Use-correct-item-in-arrow-pickup-event.patch
index ba0b59827f..e1804b2641 100644
--- a/Spigot-Server-Patches/0100-Use-correct-item-in-arrow-pickup-event.patch
+++ b/Spigot-Server-Patches/0099-Use-correct-item-in-arrow-pickup-event.patch
@@ -1,4 +1,4 @@
-From 9ba4a309f6d6596993df301c090164d59a758737 Mon Sep 17 00:00:00 2001
+From 998ca2697fc4262c3146a8b1286795e8ad979a3c Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Tue, 22 Mar 2016 16:00:16 -0400
 Subject: [PATCH] Use correct item in arrow pickup event
diff --git a/Spigot-Server-Patches/0101-Fix-cooked-fish-legacy-import.patch b/Spigot-Server-Patches/0100-Fix-cooked-fish-legacy-import.patch
similarity index 94%
rename from Spigot-Server-Patches/0101-Fix-cooked-fish-legacy-import.patch
rename to Spigot-Server-Patches/0100-Fix-cooked-fish-legacy-import.patch
index 581f23f162..86fc3e7636 100644
--- a/Spigot-Server-Patches/0101-Fix-cooked-fish-legacy-import.patch
+++ b/Spigot-Server-Patches/0100-Fix-cooked-fish-legacy-import.patch
@@ -1,4 +1,4 @@
-From fbbbd0c8b1d8b5aa1225d4469ac27e89163aed7c Mon Sep 17 00:00:00 2001
+From 59b4657819f58356f60016f3c27ef2de3eb3bf90 Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Tue, 1 Mar 2016 04:32:08 -0500
 Subject: [PATCH] Fix cooked fish legacy import
diff --git a/Spigot-Server-Patches/0102-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch b/Spigot-Server-Patches/0101-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch
similarity index 98%
rename from Spigot-Server-Patches/0102-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch
rename to Spigot-Server-Patches/0101-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch
index d8dcf3e98d..14236aaacd 100644
--- a/Spigot-Server-Patches/0102-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch
+++ b/Spigot-Server-Patches/0101-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch
@@ -1,11 +1,11 @@
-From 5e121b5dc2021f9ad2315f1213646109b3305cdb Mon Sep 17 00:00:00 2001
+From 9fda9b975db0dc3d25ccd4b859d75bfd93ff2bea Mon Sep 17 00:00:00 2001
 From: DemonWav <demonwav@gmail.com>
 Date: Sat, 26 Mar 2016 21:36:05 -0500
 Subject: [PATCH] Prevent possible infinite loop in BlockPosition iterator
 
 
 diff --git a/src/main/java/net/minecraft/server/BlockPosition.java b/src/main/java/net/minecraft/server/BlockPosition.java
-index 9ba987a..557fa3a 100644
+index 704faa9..d6cc51b 100644
 --- a/src/main/java/net/minecraft/server/BlockPosition.java
 +++ b/src/main/java/net/minecraft/server/BlockPosition.java
 @@ -141,15 +141,17 @@ public class BlockPosition extends BaseBlockPosition {
diff --git a/Spigot-Server-Patches/0103-Access-items-by-EquipmentSlot.patch b/Spigot-Server-Patches/0102-Access-items-by-EquipmentSlot.patch
similarity index 97%
rename from Spigot-Server-Patches/0103-Access-items-by-EquipmentSlot.patch
rename to Spigot-Server-Patches/0102-Access-items-by-EquipmentSlot.patch
index 793cf41fae..f3bcc8b274 100644
--- a/Spigot-Server-Patches/0103-Access-items-by-EquipmentSlot.patch
+++ b/Spigot-Server-Patches/0102-Access-items-by-EquipmentSlot.patch
@@ -1,4 +1,4 @@
-From ffe1e11ceb3bceed707d8dfcf613e38a5ec315e0 Mon Sep 17 00:00:00 2001
+From e8b05a60fea474060dc708b1ffae37cd0d31f07e Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Sun, 20 Mar 2016 06:45:01 -0400
 Subject: [PATCH] Access items by EquipmentSlot
diff --git a/Spigot-Server-Patches/0104-Check-async-remove-unused-vars-GH-159.patch b/Spigot-Server-Patches/0103-Check-async-remove-unused-vars-GH-159.patch
similarity index 96%
rename from Spigot-Server-Patches/0104-Check-async-remove-unused-vars-GH-159.patch
rename to Spigot-Server-Patches/0103-Check-async-remove-unused-vars-GH-159.patch
index 855dca92ff..8085f476b5 100644
--- a/Spigot-Server-Patches/0104-Check-async-remove-unused-vars-GH-159.patch
+++ b/Spigot-Server-Patches/0103-Check-async-remove-unused-vars-GH-159.patch
@@ -1,4 +1,4 @@
-From d2f5088de2801207e9186ccd8c469168760f1a53 Mon Sep 17 00:00:00 2001
+From ac5312f352b60d9cf048e9cabf8cc12a21fa8678 Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Sun, 27 Mar 2016 20:24:05 -0500
 Subject: [PATCH] Check async, remove unused vars, GH-159
diff --git a/Spigot-Server-Patches/0105-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch b/Spigot-Server-Patches/0104-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch
similarity index 97%
rename from Spigot-Server-Patches/0105-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch
rename to Spigot-Server-Patches/0104-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch
index f3cf41c021..b68a501f7e 100644
--- a/Spigot-Server-Patches/0105-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch
+++ b/Spigot-Server-Patches/0104-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch
@@ -1,4 +1,4 @@
-From b32ea1463566d788c7c741ecf045c25b512ebc50 Mon Sep 17 00:00:00 2001
+From 679ac3739ff04c06dc2c499424a6d0212395709b Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 28 Mar 2016 19:55:45 -0400
 Subject: [PATCH] Option to disable BlockPhysicsEvent for Redstone
@@ -25,7 +25,7 @@ index 5652108..a97eee7 100644
 +    }
  }
 diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index 8233ee7..a5392fd 100644
+index 54d1442..d5422ff 100644
 --- a/src/main/java/net/minecraft/server/World.java
 +++ b/src/main/java/net/minecraft/server/World.java
 @@ -558,7 +558,7 @@ public abstract class World implements IBlockAccess {
diff --git a/Spigot-Server-Patches/0106-Entity-AddTo-RemoveFrom-World-Events.patch b/Spigot-Server-Patches/0105-Entity-AddTo-RemoveFrom-World-Events.patch
similarity index 80%
rename from Spigot-Server-Patches/0106-Entity-AddTo-RemoveFrom-World-Events.patch
rename to Spigot-Server-Patches/0105-Entity-AddTo-RemoveFrom-World-Events.patch
index 13cd997b00..9e0fd195e6 100644
--- a/Spigot-Server-Patches/0106-Entity-AddTo-RemoveFrom-World-Events.patch
+++ b/Spigot-Server-Patches/0105-Entity-AddTo-RemoveFrom-World-Events.patch
@@ -1,14 +1,14 @@
-From 46184d4b56450191f8e6a7bd0c5bb5b18df45a19 Mon Sep 17 00:00:00 2001
+From 7d7731267ad9097ba4793192ab9b0d350d9f708c Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 28 Mar 2016 20:32:58 -0400
 Subject: [PATCH] Entity AddTo/RemoveFrom World Events
 
 
 diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index a5392fd..970c963 100644
+index d5422ff..cfda7e2 100644
 --- a/src/main/java/net/minecraft/server/World.java
 +++ b/src/main/java/net/minecraft/server/World.java
-@@ -1111,6 +1111,7 @@ public abstract class World implements IBlockAccess {
+@@ -1120,6 +1120,7 @@ public abstract class World implements IBlockAccess {
          }
  
          entity.valid = true; // CraftBukkit
@@ -16,7 +16,7 @@ index a5392fd..970c963 100644
      }
  
      protected void c(Entity entity) {
-@@ -1118,6 +1119,7 @@ public abstract class World implements IBlockAccess {
+@@ -1127,6 +1128,7 @@ public abstract class World implements IBlockAccess {
              ((IWorldAccess) this.u.get(i)).b(entity);
          }
  
diff --git a/Spigot-Server-Patches/0107-Configurable-Chunk-Inhabited-Timer.patch b/Spigot-Server-Patches/0106-Configurable-Chunk-Inhabited-Timer.patch
similarity index 91%
rename from Spigot-Server-Patches/0107-Configurable-Chunk-Inhabited-Timer.patch
rename to Spigot-Server-Patches/0106-Configurable-Chunk-Inhabited-Timer.patch
index 83037e3cd4..b257ba8f6c 100644
--- a/Spigot-Server-Patches/0107-Configurable-Chunk-Inhabited-Timer.patch
+++ b/Spigot-Server-Patches/0106-Configurable-Chunk-Inhabited-Timer.patch
@@ -1,4 +1,4 @@
-From 9980980250aadce72171d5d66013b0444e050383 Mon Sep 17 00:00:00 2001
+From 43dbd3c0ac26aee92c2039f72f38663d55e108c7 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 28 Mar 2016 20:46:14 -0400
 Subject: [PATCH] Configurable Chunk Inhabited Timer
@@ -23,10 +23,10 @@ index a97eee7..8966b4a 100644
 +    }
  }
 diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index f16a5dc..1c113cf 100644
+index c7452d9..e36525a 100644
 --- a/src/main/java/net/minecraft/server/Chunk.java
 +++ b/src/main/java/net/minecraft/server/Chunk.java
-@@ -1394,7 +1394,7 @@ public class Chunk {
+@@ -1402,7 +1402,7 @@ public class Chunk {
      }
  
      public long x() {
diff --git a/Spigot-Server-Patches/0108-EntityPathfindEvent.patch b/Spigot-Server-Patches/0107-EntityPathfindEvent.patch
similarity index 96%
rename from Spigot-Server-Patches/0108-EntityPathfindEvent.patch
rename to Spigot-Server-Patches/0107-EntityPathfindEvent.patch
index abc84a581a..b1c3c091b6 100644
--- a/Spigot-Server-Patches/0108-EntityPathfindEvent.patch
+++ b/Spigot-Server-Patches/0107-EntityPathfindEvent.patch
@@ -1,4 +1,4 @@
-From fe79ecdc9c91781b8c44d18810fa5b0331d192d5 Mon Sep 17 00:00:00 2001
+From 9dd5a669d39313e875da0d995a621ae051f030be Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 28 Mar 2016 21:22:26 -0400
 Subject: [PATCH] EntityPathfindEvent
diff --git a/Spigot-Server-Patches/0109-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch b/Spigot-Server-Patches/0108-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch
similarity index 97%
rename from Spigot-Server-Patches/0109-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch
rename to Spigot-Server-Patches/0108-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch
index 2b81155659..4110f33660 100644
--- a/Spigot-Server-Patches/0109-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch
+++ b/Spigot-Server-Patches/0108-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch
@@ -1,4 +1,4 @@
-From 8f4d8a4c78b6b567e4ad2bcea34c48da1b8a0af5 Mon Sep 17 00:00:00 2001
+From f208c1991624aba4aff4fbec77a6b0ea6a5b3848 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 28 Mar 2016 22:03:09 -0400
 Subject: [PATCH] Prevent Waterflow BlockFromToEvent from loading chunks
diff --git a/Spigot-Server-Patches/0110-Minecart-drop-name-workaround.patch b/Spigot-Server-Patches/0109-Minecart-drop-name-workaround.patch
similarity index 94%
rename from Spigot-Server-Patches/0110-Minecart-drop-name-workaround.patch
rename to Spigot-Server-Patches/0109-Minecart-drop-name-workaround.patch
index 2ac4c11ff2..8ca27f9b6f 100644
--- a/Spigot-Server-Patches/0110-Minecart-drop-name-workaround.patch
+++ b/Spigot-Server-Patches/0109-Minecart-drop-name-workaround.patch
@@ -1,4 +1,4 @@
-From 11fca59c65fa2c5e88d0f8549f48ea15f761754f Mon Sep 17 00:00:00 2001
+From 6f1b42e1117b77a826bef99f49e7da1d8e22dd96 Mon Sep 17 00:00:00 2001
 From: Fabse <fabse@uwmc.info>
 Date: Mon, 28 Mar 2016 00:46:46 +0200
 Subject: [PATCH] Minecart drop name workaround
diff --git a/Spigot-Server-Patches/0111-Reduce-IO-ops-opening-a-new-region-file.patch b/Spigot-Server-Patches/0110-Reduce-IO-ops-opening-a-new-region-file.patch
similarity index 96%
rename from Spigot-Server-Patches/0111-Reduce-IO-ops-opening-a-new-region-file.patch
rename to Spigot-Server-Patches/0110-Reduce-IO-ops-opening-a-new-region-file.patch
index a072bee2b1..85573426a1 100644
--- a/Spigot-Server-Patches/0111-Reduce-IO-ops-opening-a-new-region-file.patch
+++ b/Spigot-Server-Patches/0110-Reduce-IO-ops-opening-a-new-region-file.patch
@@ -1,4 +1,4 @@
-From b465ecaa189a7047564172d11e8c99a122723db7 Mon Sep 17 00:00:00 2001
+From 29345dd2c97756df84a4ecf03627e92d7d759897 Mon Sep 17 00:00:00 2001
 From: Antony Riley <antony@cyberiantiger.org>
 Date: Tue, 29 Mar 2016 06:56:23 +0300
 Subject: [PATCH] Reduce IO ops opening a new region file.
diff --git a/Spigot-Server-Patches/0112-Sanitise-RegionFileCache-and-make-configurable.patch b/Spigot-Server-Patches/0111-Sanitise-RegionFileCache-and-make-configurable.patch
similarity index 98%
rename from Spigot-Server-Patches/0112-Sanitise-RegionFileCache-and-make-configurable.patch
rename to Spigot-Server-Patches/0111-Sanitise-RegionFileCache-and-make-configurable.patch
index a48d4b8498..c20b8b5a02 100644
--- a/Spigot-Server-Patches/0112-Sanitise-RegionFileCache-and-make-configurable.patch
+++ b/Spigot-Server-Patches/0111-Sanitise-RegionFileCache-and-make-configurable.patch
@@ -1,4 +1,4 @@
-From f2d3287c91ba106c1a17dc9321523695cc2b778f Mon Sep 17 00:00:00 2001
+From b6dd2dd92ace414736b3da9ad9959ef8bbe686f2 Mon Sep 17 00:00:00 2001
 From: Antony Riley <antony@cyberiantiger.org>
 Date: Tue, 29 Mar 2016 08:22:55 +0300
 Subject: [PATCH] Sanitise RegionFileCache and make configurable.
diff --git a/Spigot-Server-Patches/0113-Add-getEntity-by-UUID-API.patch b/Spigot-Server-Patches/0112-Add-getEntity-by-UUID-API.patch
similarity index 97%
rename from Spigot-Server-Patches/0113-Add-getEntity-by-UUID-API.patch
rename to Spigot-Server-Patches/0112-Add-getEntity-by-UUID-API.patch
index 2189f8d33e..7fff9dcf45 100644
--- a/Spigot-Server-Patches/0113-Add-getEntity-by-UUID-API.patch
+++ b/Spigot-Server-Patches/0112-Add-getEntity-by-UUID-API.patch
@@ -1,4 +1,4 @@
-From 82dceb56570d6f01e3d1a9924bc419d05f9edd6a Mon Sep 17 00:00:00 2001
+From 40c2809484e385f980422a51dceb91e97b840b4c Mon Sep 17 00:00:00 2001
 From: DemonWav <demonwav@gmail.com>
 Date: Wed, 30 Mar 2016 01:20:11 -0500
 Subject: [PATCH] Add getEntity by UUID API
diff --git a/Spigot-Server-Patches/0114-Use-Optimized-Collections.patch b/Spigot-Server-Patches/0113-Use-Optimized-Collections.patch
similarity index 97%
rename from Spigot-Server-Patches/0114-Use-Optimized-Collections.patch
rename to Spigot-Server-Patches/0113-Use-Optimized-Collections.patch
index 49e8925ae4..c6b78cf324 100644
--- a/Spigot-Server-Patches/0114-Use-Optimized-Collections.patch
+++ b/Spigot-Server-Patches/0113-Use-Optimized-Collections.patch
@@ -1,4 +1,4 @@
-From e062ea357a0764c8027c0364c91c9f663e64c0c1 Mon Sep 17 00:00:00 2001
+From 43f823f34760fd83d553efa9b943e2414813284d Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Wed, 30 Mar 2016 02:13:24 -0400
 Subject: [PATCH] Use Optimized Collections
diff --git a/Spigot-Server-Patches/0115-Do-not-load-chunks-for-light-checks.patch b/Spigot-Server-Patches/0114-Do-not-load-chunks-for-light-checks.patch
similarity index 90%
rename from Spigot-Server-Patches/0115-Do-not-load-chunks-for-light-checks.patch
rename to Spigot-Server-Patches/0114-Do-not-load-chunks-for-light-checks.patch
index 3086c580f3..4429546b18 100644
--- a/Spigot-Server-Patches/0115-Do-not-load-chunks-for-light-checks.patch
+++ b/Spigot-Server-Patches/0114-Do-not-load-chunks-for-light-checks.patch
@@ -1,4 +1,4 @@
-From 2025ef8530622278c906685e364ae0cf7964bdec Mon Sep 17 00:00:00 2001
+From c22e8ea925d50cfaca77e1f7345f24652aa61cf0 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Thu, 31 Mar 2016 19:17:58 -0400
 Subject: [PATCH] Do not load chunks for light checks
@@ -7,7 +7,7 @@ Should only happen for blocks on the edge that uses neighbors light level
 (certain blocks). In that case, there will be 3-4 other neighbors to get a light level from.
 
 diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index 970c963..e508be3 100644
+index cfda7e2..8ba0d1f 100644
 --- a/src/main/java/net/minecraft/server/World.java
 +++ b/src/main/java/net/minecraft/server/World.java
 @@ -707,6 +707,7 @@ public abstract class World implements IBlockAccess {
diff --git a/Spigot-Server-Patches/0116-Add-PlayerUseUnknownEntityEvent.patch b/Spigot-Server-Patches/0115-Add-PlayerUseUnknownEntityEvent.patch
similarity index 96%
rename from Spigot-Server-Patches/0116-Add-PlayerUseUnknownEntityEvent.patch
rename to Spigot-Server-Patches/0115-Add-PlayerUseUnknownEntityEvent.patch
index 1679daf8bd..2222c49682 100644
--- a/Spigot-Server-Patches/0116-Add-PlayerUseUnknownEntityEvent.patch
+++ b/Spigot-Server-Patches/0115-Add-PlayerUseUnknownEntityEvent.patch
@@ -1,4 +1,4 @@
-From 00ebbfe2ebbbe367b61599f397f8a61430ea896b Mon Sep 17 00:00:00 2001
+From e230ff98a7ceeff5895c07851fed74161f1979aa Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Sat, 2 Apr 2016 05:09:16 -0400
 Subject: [PATCH] Add PlayerUseUnknownEntityEvent
diff --git a/Spigot-Server-Patches/0117-Fix-reducedDebugInfo-not-initialized-on-client.patch b/Spigot-Server-Patches/0116-Fix-reducedDebugInfo-not-initialized-on-client.patch
similarity index 94%
rename from Spigot-Server-Patches/0117-Fix-reducedDebugInfo-not-initialized-on-client.patch
rename to Spigot-Server-Patches/0116-Fix-reducedDebugInfo-not-initialized-on-client.patch
index a94fe42ecc..3330679612 100644
--- a/Spigot-Server-Patches/0117-Fix-reducedDebugInfo-not-initialized-on-client.patch
+++ b/Spigot-Server-Patches/0116-Fix-reducedDebugInfo-not-initialized-on-client.patch
@@ -1,4 +1,4 @@
-From 11a1a646df18c0d48fb18cc5df7b91b681b2502a Mon Sep 17 00:00:00 2001
+From 3b42b3d60f48eafb32983f7c8fe3016ac0a8ff96 Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Sat, 2 Apr 2016 20:37:03 -0400
 Subject: [PATCH] Fix reducedDebugInfo not initialized on client
diff --git a/Spigot-Server-Patches/0118-Configurable-Grass-Spread-Tick-Rate.patch b/Spigot-Server-Patches/0117-Configurable-Grass-Spread-Tick-Rate.patch
similarity index 96%
rename from Spigot-Server-Patches/0118-Configurable-Grass-Spread-Tick-Rate.patch
rename to Spigot-Server-Patches/0117-Configurable-Grass-Spread-Tick-Rate.patch
index 7b0e15b7e5..fa3bd92614 100644
--- a/Spigot-Server-Patches/0118-Configurable-Grass-Spread-Tick-Rate.patch
+++ b/Spigot-Server-Patches/0117-Configurable-Grass-Spread-Tick-Rate.patch
@@ -1,4 +1,4 @@
-From 856525a95504aab542a6b267217fdeb727980812 Mon Sep 17 00:00:00 2001
+From e847ad6495c01d38137b107e391045be96054600 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sun, 3 Apr 2016 16:28:17 -0400
 Subject: [PATCH] Configurable Grass Spread Tick Rate
diff --git a/Spigot-Server-Patches/0119-Configurable-Keep-Spawn-Loaded-range-per-world.patch b/Spigot-Server-Patches/0118-Configurable-Keep-Spawn-Loaded-range-per-world.patch
similarity index 96%
rename from Spigot-Server-Patches/0119-Configurable-Keep-Spawn-Loaded-range-per-world.patch
rename to Spigot-Server-Patches/0118-Configurable-Keep-Spawn-Loaded-range-per-world.patch
index dde1b400ed..c57c5c1263 100644
--- a/Spigot-Server-Patches/0119-Configurable-Keep-Spawn-Loaded-range-per-world.patch
+++ b/Spigot-Server-Patches/0118-Configurable-Keep-Spawn-Loaded-range-per-world.patch
@@ -1,4 +1,4 @@
-From 8cd87982b44492ea4e3fad29203bfe7b7c6053d4 Mon Sep 17 00:00:00 2001
+From 56f98f216eb1b94cbade9110cb3aeff4fd471b6f Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sat, 13 Sep 2014 23:14:43 -0400
 Subject: [PATCH] Configurable Keep Spawn Loaded range per world
@@ -37,10 +37,10 @@ index 64868c0..bfa6836 100644
  
                      if (i1 - j > 1000L) {
 diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index e508be3..5b2b8de 100644
+index 8ba0d1f..2c6deef 100644
 --- a/src/main/java/net/minecraft/server/World.java
 +++ b/src/main/java/net/minecraft/server/World.java
-@@ -3233,8 +3233,9 @@ public abstract class World implements IBlockAccess {
+@@ -3242,8 +3242,9 @@ public abstract class World implements IBlockAccess {
          int k = i * 16 + 8 - blockposition.getX();
          int l = j * 16 + 8 - blockposition.getZ();
          boolean flag = true;
diff --git a/Spigot-Server-Patches/0120-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch b/Spigot-Server-Patches/0119-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
similarity index 88%
rename from Spigot-Server-Patches/0120-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
rename to Spigot-Server-Patches/0119-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
index 848890372b..620c1d343c 100644
--- a/Spigot-Server-Patches/0120-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
+++ b/Spigot-Server-Patches/0119-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
@@ -1,11 +1,11 @@
-From e8253303924fa0aa2d06dbde96012bd5d38e4f46 Mon Sep 17 00:00:00 2001
+From 502d5ac9425763d8f14067ff1692f4bb948bbde4 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sun, 3 Apr 2016 17:48:50 -0400
 Subject: [PATCH] Fix Cancelling BlockPlaceEvent triggering physics
 
 
 diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index 5b2b8de..facbdad 100644
+index 2c6deef..539100b 100644
 --- a/src/main/java/net/minecraft/server/World.java
 +++ b/src/main/java/net/minecraft/server/World.java
 @@ -516,6 +516,7 @@ public abstract class World implements IBlockAccess {
diff --git a/Spigot-Server-Patches/0121-Don-t-spam-reload-spawn-chunks-in-nether-end.patch b/Spigot-Server-Patches/0120-Don-t-spam-reload-spawn-chunks-in-nether-end.patch
similarity index 88%
rename from Spigot-Server-Patches/0121-Don-t-spam-reload-spawn-chunks-in-nether-end.patch
rename to Spigot-Server-Patches/0120-Don-t-spam-reload-spawn-chunks-in-nether-end.patch
index ec572efb8b..c8beccea11 100644
--- a/Spigot-Server-Patches/0121-Don-t-spam-reload-spawn-chunks-in-nether-end.patch
+++ b/Spigot-Server-Patches/0120-Don-t-spam-reload-spawn-chunks-in-nether-end.patch
@@ -1,14 +1,14 @@
-From 9e60152ce508910c50b5d635fc066faeaf3f9f80 Mon Sep 17 00:00:00 2001
+From 980f9cd6c2c465296f3fc12611f285e7e9b3f573 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Tue, 5 Apr 2016 19:42:22 -0400
 Subject: [PATCH] Don't spam reload spawn chunks in nether/end
 
 
 diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index facbdad..e25b864 100644
+index 539100b..5400a53 100644
 --- a/src/main/java/net/minecraft/server/World.java
 +++ b/src/main/java/net/minecraft/server/World.java
-@@ -3229,6 +3229,7 @@ public abstract class World implements IBlockAccess {
+@@ -3238,6 +3238,7 @@ public abstract class World implements IBlockAccess {
          return this.N;
      }
  
diff --git a/Spigot-Server-Patches/0122-Remove-Debug-checks-from-DataBits.patch b/Spigot-Server-Patches/0121-Remove-Debug-checks-from-DataBits.patch
similarity index 96%
rename from Spigot-Server-Patches/0122-Remove-Debug-checks-from-DataBits.patch
rename to Spigot-Server-Patches/0121-Remove-Debug-checks-from-DataBits.patch
index 6f131a1317..486c418062 100644
--- a/Spigot-Server-Patches/0122-Remove-Debug-checks-from-DataBits.patch
+++ b/Spigot-Server-Patches/0121-Remove-Debug-checks-from-DataBits.patch
@@ -1,4 +1,4 @@
-From cecb8f8ae50271615c1c7714d7f4761ad4c22dde Mon Sep 17 00:00:00 2001
+From 1dc1103e5ddaff90993bbd49d383d273c98b5db2 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Tue, 5 Apr 2016 21:38:58 -0400
 Subject: [PATCH] Remove Debug checks from DataBits
diff --git a/Spigot-Server-Patches/0123-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch b/Spigot-Server-Patches/0122-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch
similarity index 97%
rename from Spigot-Server-Patches/0123-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch
rename to Spigot-Server-Patches/0122-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch
index 06b8dd3010..fa92162f74 100644
--- a/Spigot-Server-Patches/0123-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch
+++ b/Spigot-Server-Patches/0122-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch
@@ -1,4 +1,4 @@
-From 0021cfc35b58d8605c27fe57c75c6f577f9e8df0 Mon Sep 17 00:00:00 2001
+From 720fe6133fb0d2a4f19f6fc93bb8cae93d00b570 Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Wed, 6 Apr 2016 01:04:23 -0500
 Subject: [PATCH] Option to use vanilla per-world scoreboard coloring on names
diff --git a/Spigot-Server-Patches/0124-Workaround-for-setting-passengers-on-players.patch b/Spigot-Server-Patches/0123-Workaround-for-setting-passengers-on-players.patch
similarity index 94%
rename from Spigot-Server-Patches/0124-Workaround-for-setting-passengers-on-players.patch
rename to Spigot-Server-Patches/0123-Workaround-for-setting-passengers-on-players.patch
index e1969e3048..4b83b5ecb7 100644
--- a/Spigot-Server-Patches/0124-Workaround-for-setting-passengers-on-players.patch
+++ b/Spigot-Server-Patches/0123-Workaround-for-setting-passengers-on-players.patch
@@ -1,4 +1,4 @@
-From ec4c864f8f44361607434a46fddbb00c25fda046 Mon Sep 17 00:00:00 2001
+From 1ba823ed3a80809ac78a11b495c1ea3d54aa8d2d Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Sun, 10 Apr 2016 03:23:32 -0500
 Subject: [PATCH] Workaround for setting passengers on players
diff --git a/Spigot-Server-Patches/0125-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch b/Spigot-Server-Patches/0124-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch
similarity index 95%
rename from Spigot-Server-Patches/0125-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch
rename to Spigot-Server-Patches/0124-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch
index 574f0f26b8..2db974de5e 100644
--- a/Spigot-Server-Patches/0125-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch
+++ b/Spigot-Server-Patches/0124-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch
@@ -1,4 +1,4 @@
-From 647bda8348b38151b9956753392c2fede265009c Mon Sep 17 00:00:00 2001
+From 89cc41ddcc93c188ecdc21c2c817a18541fee80f Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sun, 10 Apr 2016 22:36:10 -0400
 Subject: [PATCH] SPIGOT-1903: Update PlayerConnection on teleporting players
diff --git a/Spigot-Server-Patches/0126-Remove-unused-World-Tile-Entity-List.patch b/Spigot-Server-Patches/0125-Remove-unused-World-Tile-Entity-List.patch
similarity index 88%
rename from Spigot-Server-Patches/0126-Remove-unused-World-Tile-Entity-List.patch
rename to Spigot-Server-Patches/0125-Remove-unused-World-Tile-Entity-List.patch
index 9e8ed19ad1..f7bba50384 100644
--- a/Spigot-Server-Patches/0126-Remove-unused-World-Tile-Entity-List.patch
+++ b/Spigot-Server-Patches/0125-Remove-unused-World-Tile-Entity-List.patch
@@ -1,4 +1,4 @@
-From 3543fd59b86e411f4979606f543c2f6db96a001b Mon Sep 17 00:00:00 2001
+From dec3a348a2c634b75a34149bd38eae2f214c0d08 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Wed, 13 Apr 2016 00:25:28 -0400
 Subject: [PATCH] Remove unused World Tile Entity List
@@ -6,7 +6,7 @@ Subject: [PATCH] Remove unused World Tile Entity List
 Massive hit to performance and it is completely unnecessary.
 
 diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index e25b864..b3165eb 100644
+index 5400a53..8479c6e 100644
 --- a/src/main/java/net/minecraft/server/World.java
 +++ b/src/main/java/net/minecraft/server/World.java
 @@ -69,7 +69,7 @@ public abstract class World implements IBlockAccess {
@@ -18,7 +18,7 @@ index e25b864..b3165eb 100644
      public final List<TileEntity> tileEntityListTick = Lists.newArrayList();
      private final List<TileEntity> b = Lists.newArrayList();
      private final Set<TileEntity> tileEntityListUnload = Sets.newHashSet(); // Paper
-@@ -1558,7 +1558,7 @@ public abstract class World implements IBlockAccess {
+@@ -1567,7 +1567,7 @@ public abstract class World implements IBlockAccess {
          // CraftBukkit start - From below, clean up tile entities before ticking them
          if (!this.tileEntityListUnload.isEmpty()) {
              this.tileEntityListTick.removeAll(this.tileEntityListUnload);
@@ -27,7 +27,7 @@ index e25b864..b3165eb 100644
              this.tileEntityListUnload.clear();
          }
          // CraftBukkit end
-@@ -1609,7 +1609,7 @@ public abstract class World implements IBlockAccess {
+@@ -1618,7 +1618,7 @@ public abstract class World implements IBlockAccess {
              if (tileentity.x()) {
                  tilesThisCycle--;
                  this.tileEntityListTick.remove(tileTickPosition--);
@@ -36,7 +36,7 @@ index e25b864..b3165eb 100644
                  if (this.isLoaded(tileentity.getPosition())) {
                      this.getChunkAtWorldCoords(tileentity.getPosition()).d(tileentity.getPosition());
                  }
-@@ -1647,7 +1647,7 @@ public abstract class World implements IBlockAccess {
+@@ -1656,7 +1656,7 @@ public abstract class World implements IBlockAccess {
                          this.notify(tileentity1.getPosition(), iblockdata, iblockdata, 3);
                          // CraftBukkit start
                          // From above, don't screw this up - SPIGOT-1746
@@ -45,7 +45,7 @@ index e25b864..b3165eb 100644
                              this.a(tileentity1);
                          }
                          // CraftBukkit end
-@@ -1667,9 +1667,9 @@ public abstract class World implements IBlockAccess {
+@@ -1676,9 +1676,9 @@ public abstract class World implements IBlockAccess {
      protected void l() {}
  
      public boolean a(TileEntity tileentity) {
@@ -57,7 +57,7 @@ index e25b864..b3165eb 100644
              this.tileEntityListTick.add(tileentity);
          }
  
-@@ -2139,7 +2139,7 @@ public abstract class World implements IBlockAccess {
+@@ -2148,7 +2148,7 @@ public abstract class World implements IBlockAccess {
          } else {
              if (tileentity != null) {
                  this.b.remove(tileentity);
diff --git a/Spigot-Server-Patches/0127-Don-t-tick-Skulls-unused-code.patch b/Spigot-Server-Patches/0126-Don-t-tick-Skulls-unused-code.patch
similarity index 92%
rename from Spigot-Server-Patches/0127-Don-t-tick-Skulls-unused-code.patch
rename to Spigot-Server-Patches/0126-Don-t-tick-Skulls-unused-code.patch
index be70a70bc3..a9f72bee00 100644
--- a/Spigot-Server-Patches/0127-Don-t-tick-Skulls-unused-code.patch
+++ b/Spigot-Server-Patches/0126-Don-t-tick-Skulls-unused-code.patch
@@ -1,4 +1,4 @@
-From f111af4039872df7ea8ba4e5c075669e13185981 Mon Sep 17 00:00:00 2001
+From 32617ea374eb4534a7254475cf9ba2b13e2cfae2 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Wed, 13 Apr 2016 00:30:10 -0400
 Subject: [PATCH] Don't tick Skulls - unused code
diff --git a/Spigot-Server-Patches/0128-Fix-some-players-not-being-kicked-on-shutdown.patch b/Spigot-Server-Patches/0127-Fix-some-players-not-being-kicked-on-shutdown.patch
similarity index 94%
rename from Spigot-Server-Patches/0128-Fix-some-players-not-being-kicked-on-shutdown.patch
rename to Spigot-Server-Patches/0127-Fix-some-players-not-being-kicked-on-shutdown.patch
index dca0a80806..f7a05336ae 100644
--- a/Spigot-Server-Patches/0128-Fix-some-players-not-being-kicked-on-shutdown.patch
+++ b/Spigot-Server-Patches/0127-Fix-some-players-not-being-kicked-on-shutdown.patch
@@ -1,4 +1,4 @@
-From f6ae56e4c2d9042ff278827a27a377108058c12b Mon Sep 17 00:00:00 2001
+From 9ca0316efd9a773e426f3327a6e2cd14c9d6aa86 Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Tue, 29 Mar 2016 20:19:20 -0400
 Subject: [PATCH] Fix some players not being kicked on shutdown
diff --git a/Spigot-Server-Patches/0129-Configurable-Player-Collision.patch b/Spigot-Server-Patches/0128-Configurable-Player-Collision.patch
similarity index 96%
rename from Spigot-Server-Patches/0129-Configurable-Player-Collision.patch
rename to Spigot-Server-Patches/0128-Configurable-Player-Collision.patch
index 1485b280f6..f594e6db3e 100644
--- a/Spigot-Server-Patches/0129-Configurable-Player-Collision.patch
+++ b/Spigot-Server-Patches/0128-Configurable-Player-Collision.patch
@@ -1,4 +1,4 @@
-From 9838b5ed83155b41d03da1361db86907470af133 Mon Sep 17 00:00:00 2001
+From a5ffdd4c67dcea575adf72616c30225d80ed31a1 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Wed, 13 Apr 2016 02:10:49 -0400
 Subject: [PATCH] Configurable Player Collision
diff --git a/Spigot-Server-Patches/0130-Add-handshake-event-to-allow-plugins-to-handle-clien.patch b/Spigot-Server-Patches/0129-Add-handshake-event-to-allow-plugins-to-handle-clien.patch
similarity index 97%
rename from Spigot-Server-Patches/0130-Add-handshake-event-to-allow-plugins-to-handle-clien.patch
rename to Spigot-Server-Patches/0129-Add-handshake-event-to-allow-plugins-to-handle-clien.patch
index 703055dc97..db2747c9b8 100644
--- a/Spigot-Server-Patches/0130-Add-handshake-event-to-allow-plugins-to-handle-clien.patch
+++ b/Spigot-Server-Patches/0129-Add-handshake-event-to-allow-plugins-to-handle-clien.patch
@@ -1,4 +1,4 @@
-From cf9d9c64c0bbbb64963f6a7f7288279515800f71 Mon Sep 17 00:00:00 2001
+From 1c0510dc27ac8561fd19ace91b8e07b62359a56d Mon Sep 17 00:00:00 2001
 From: kashike <kashike@vq.lc>
 Date: Wed, 13 Apr 2016 20:21:38 -0700
 Subject: [PATCH] Add handshake event to allow plugins to handle client
diff --git a/Spigot-Server-Patches/0131-Water-mobs-should-only-spawn-in-the-water.patch b/Spigot-Server-Patches/0130-Water-mobs-should-only-spawn-in-the-water.patch
similarity index 94%
rename from Spigot-Server-Patches/0131-Water-mobs-should-only-spawn-in-the-water.patch
rename to Spigot-Server-Patches/0130-Water-mobs-should-only-spawn-in-the-water.patch
index e762290927..e3c36b586c 100644
--- a/Spigot-Server-Patches/0131-Water-mobs-should-only-spawn-in-the-water.patch
+++ b/Spigot-Server-Patches/0130-Water-mobs-should-only-spawn-in-the-water.patch
@@ -1,4 +1,4 @@
-From a37608db3922c27b8c4bfc0d46bd6ae3d1bfb66c Mon Sep 17 00:00:00 2001
+From 6aac550ebf2a897af86f4bbc51447b5a23fe7d0b Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Thu, 14 Apr 2016 17:48:56 -0500
 Subject: [PATCH] Water mobs should only spawn in the water
diff --git a/Spigot-Server-Patches/0132-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch b/Spigot-Server-Patches/0131-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch
similarity index 95%
rename from Spigot-Server-Patches/0132-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch
rename to Spigot-Server-Patches/0131-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch
index 38ff734479..906de5e6e8 100644
--- a/Spigot-Server-Patches/0132-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch
+++ b/Spigot-Server-Patches/0131-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch
@@ -1,4 +1,4 @@
-From eac57545e4af2be5afdcbacfc57641f44b2d7129 Mon Sep 17 00:00:00 2001
+From 119997f9b1d26d4b02d04d694ae9f9a3ba9b5415 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Thu, 14 Apr 2016 21:01:39 -0400
 Subject: [PATCH] Fix Bugs with Spigot Mob Spawn Logic
@@ -14,10 +14,10 @@ Specially with servers using smaller mob spawn ranges than view distance, as wel
 This patch returns mob counting to use all loaded chunks, and 17x17 division.
 
 diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index 1c113cf..d670671 100644
+index e36525a..3419d0f 100644
 --- a/src/main/java/net/minecraft/server/Chunk.java
 +++ b/src/main/java/net/minecraft/server/Chunk.java
-@@ -672,7 +672,7 @@ public class Chunk {
+@@ -680,7 +680,7 @@ public class Chunk {
              i = this.entitySlices.length - 1;
          }
  
diff --git a/Spigot-Server-Patches/0133-Configurable-RCON-IP-address.patch b/Spigot-Server-Patches/0132-Configurable-RCON-IP-address.patch
similarity index 93%
rename from Spigot-Server-Patches/0133-Configurable-RCON-IP-address.patch
rename to Spigot-Server-Patches/0132-Configurable-RCON-IP-address.patch
index bd5b2a3c8f..9298bfffa2 100644
--- a/Spigot-Server-Patches/0133-Configurable-RCON-IP-address.patch
+++ b/Spigot-Server-Patches/0132-Configurable-RCON-IP-address.patch
@@ -1,4 +1,4 @@
-From 2304e7d9cf2d99b463ab4a315826b179f91d52e5 Mon Sep 17 00:00:00 2001
+From 268412ca895a48808c55da85f821fca73aee1663 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sat, 16 Apr 2016 00:39:33 -0400
 Subject: [PATCH] Configurable RCON IP address
diff --git a/Spigot-Server-Patches/0134-Prevent-Fire-from-loading-chunks.patch b/Spigot-Server-Patches/0133-Prevent-Fire-from-loading-chunks.patch
similarity index 97%
rename from Spigot-Server-Patches/0134-Prevent-Fire-from-loading-chunks.patch
rename to Spigot-Server-Patches/0133-Prevent-Fire-from-loading-chunks.patch
index e81e982a82..74f8dc7102 100644
--- a/Spigot-Server-Patches/0134-Prevent-Fire-from-loading-chunks.patch
+++ b/Spigot-Server-Patches/0133-Prevent-Fire-from-loading-chunks.patch
@@ -1,4 +1,4 @@
-From 3c8ae0d36856cd89c14944ba9f95e35c49833ed4 Mon Sep 17 00:00:00 2001
+From 265813111c36cb9a5b4e4e3cbbb056843e6d08fe Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sun, 17 Apr 2016 17:27:09 -0400
 Subject: [PATCH] Prevent Fire from loading chunks
diff --git a/Spigot-Server-Patches/0135-Implement-PlayerLocaleChangeEvent.patch b/Spigot-Server-Patches/0134-Implement-PlayerLocaleChangeEvent.patch
similarity index 97%
rename from Spigot-Server-Patches/0135-Implement-PlayerLocaleChangeEvent.patch
rename to Spigot-Server-Patches/0134-Implement-PlayerLocaleChangeEvent.patch
index 0632095223..f3193468fa 100644
--- a/Spigot-Server-Patches/0135-Implement-PlayerLocaleChangeEvent.patch
+++ b/Spigot-Server-Patches/0134-Implement-PlayerLocaleChangeEvent.patch
@@ -1,4 +1,4 @@
-From 118eabe40eb578c54ebc193da348f6f9eac3f9f0 Mon Sep 17 00:00:00 2001
+From e9c013296bbcc5353de1a2e9795b6b3a0839198d Mon Sep 17 00:00:00 2001
 From: Isaac Moore <rmsy@me.com>
 Date: Tue, 19 Apr 2016 14:09:31 -0500
 Subject: [PATCH] Implement PlayerLocaleChangeEvent
diff --git a/Spigot-Server-Patches/0136-EntityRegainHealthEvent-isFastRegen-API.patch b/Spigot-Server-Patches/0135-EntityRegainHealthEvent-isFastRegen-API.patch
similarity index 97%
rename from Spigot-Server-Patches/0136-EntityRegainHealthEvent-isFastRegen-API.patch
rename to Spigot-Server-Patches/0135-EntityRegainHealthEvent-isFastRegen-API.patch
index 6f90d26299..97adeb3c53 100644
--- a/Spigot-Server-Patches/0136-EntityRegainHealthEvent-isFastRegen-API.patch
+++ b/Spigot-Server-Patches/0135-EntityRegainHealthEvent-isFastRegen-API.patch
@@ -1,4 +1,4 @@
-From 7f41214fdeb5f5d5cbb2687cd160531ae6f37afd Mon Sep 17 00:00:00 2001
+From aed3ba5574b80a82667f18b5ad45afa40b7aea01 Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Fri, 22 Apr 2016 01:43:11 -0500
 Subject: [PATCH] EntityRegainHealthEvent isFastRegen API
diff --git a/Spigot-Server-Patches/0137-Add-ability-to-configure-frosted_ice-properties.patch b/Spigot-Server-Patches/0136-Add-ability-to-configure-frosted_ice-properties.patch
similarity index 97%
rename from Spigot-Server-Patches/0137-Add-ability-to-configure-frosted_ice-properties.patch
rename to Spigot-Server-Patches/0136-Add-ability-to-configure-frosted_ice-properties.patch
index 20b6fa7b00..dd3abc51eb 100644
--- a/Spigot-Server-Patches/0137-Add-ability-to-configure-frosted_ice-properties.patch
+++ b/Spigot-Server-Patches/0136-Add-ability-to-configure-frosted_ice-properties.patch
@@ -1,4 +1,4 @@
-From 145884a82101e7d9715f6a606b4b5a1c618c2028 Mon Sep 17 00:00:00 2001
+From 9c70f718778daa5d3acad4c64766d5dc547b11fc Mon Sep 17 00:00:00 2001
 From: kashike <kashike@vq.lc>
 Date: Thu, 21 Apr 2016 23:51:55 -0700
 Subject: [PATCH] Add ability to configure frosted_ice properties
diff --git a/Spigot-Server-Patches/0138-Vehicle-Event-Cancellation-Changes.patch b/Spigot-Server-Patches/0137-Vehicle-Event-Cancellation-Changes.patch
similarity index 98%
rename from Spigot-Server-Patches/0138-Vehicle-Event-Cancellation-Changes.patch
rename to Spigot-Server-Patches/0137-Vehicle-Event-Cancellation-Changes.patch
index 303b45662f..f74893ed14 100644
--- a/Spigot-Server-Patches/0138-Vehicle-Event-Cancellation-Changes.patch
+++ b/Spigot-Server-Patches/0137-Vehicle-Event-Cancellation-Changes.patch
@@ -1,4 +1,4 @@
-From 03228d9f034e01c313fa6d4898cb9cfa3b2a0f40 Mon Sep 17 00:00:00 2001
+From d3f148dd37236f33449d8ec4dbb8237b4eb2dc19 Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Fri, 22 Apr 2016 18:20:05 -0500
 Subject: [PATCH] Vehicle Event Cancellation Changes
diff --git a/Spigot-Server-Patches/0139-Arrow-pickup-rule-API.patch b/Spigot-Server-Patches/0138-Arrow-pickup-rule-API.patch
similarity index 96%
rename from Spigot-Server-Patches/0139-Arrow-pickup-rule-API.patch
rename to Spigot-Server-Patches/0138-Arrow-pickup-rule-API.patch
index e05032a7f8..efbd7b2782 100644
--- a/Spigot-Server-Patches/0139-Arrow-pickup-rule-API.patch
+++ b/Spigot-Server-Patches/0138-Arrow-pickup-rule-API.patch
@@ -1,4 +1,4 @@
-From bc96ad5586de906f720c4dae537aaeed5bd63c75 Mon Sep 17 00:00:00 2001
+From 4a3c1ad5500406d3e6f6c221ef8a0a1c3b012202 Mon Sep 17 00:00:00 2001
 From: Jedediah Smith <jedediah@silencegreys.com>
 Date: Fri, 4 Mar 2016 03:16:11 -0500
 Subject: [PATCH] Arrow pickup rule API
diff --git a/Spigot-Server-Patches/0140-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch b/Spigot-Server-Patches/0139-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch
similarity index 97%
rename from Spigot-Server-Patches/0140-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch
rename to Spigot-Server-Patches/0139-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch
index fddd59ba24..dfd04bd03c 100644
--- a/Spigot-Server-Patches/0140-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch
+++ b/Spigot-Server-Patches/0139-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch
@@ -1,4 +1,4 @@
-From e3a313ca14af95c77206c86528e8daae51792ddf Mon Sep 17 00:00:00 2001
+From ba9bd41e146d01da235510663be86a00a5cf579e Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Sun, 24 Apr 2016 19:49:33 -0500
 Subject: [PATCH] SPIGOT-1401: Fix dispenser, dropper, furnace placement
diff --git a/Spigot-Server-Patches/0141-Improve-Minecraft-Hopper-Performance.patch b/Spigot-Server-Patches/0140-Improve-Minecraft-Hopper-Performance.patch
similarity index 97%
rename from Spigot-Server-Patches/0141-Improve-Minecraft-Hopper-Performance.patch
rename to Spigot-Server-Patches/0140-Improve-Minecraft-Hopper-Performance.patch
index 893f523cc9..26c9105ff2 100644
--- a/Spigot-Server-Patches/0141-Improve-Minecraft-Hopper-Performance.patch
+++ b/Spigot-Server-Patches/0140-Improve-Minecraft-Hopper-Performance.patch
@@ -1,4 +1,4 @@
-From bbac89af60c38b75044e3161d729843c819bf8d8 Mon Sep 17 00:00:00 2001
+From 8e86f7031c88407a8f3e9886b3ba6acde9ccf17c Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Wed, 27 Apr 2016 22:09:52 -0400
 Subject: [PATCH] Improve Minecraft Hopper Performance
diff --git a/Spigot-Server-Patches/0142-remove-null-possibility-for-getServer-singleton.patch b/Spigot-Server-Patches/0141-remove-null-possibility-for-getServer-singleton.patch
similarity index 96%
rename from Spigot-Server-Patches/0142-remove-null-possibility-for-getServer-singleton.patch
rename to Spigot-Server-Patches/0141-remove-null-possibility-for-getServer-singleton.patch
index 633bae536e..7455b338d2 100644
--- a/Spigot-Server-Patches/0142-remove-null-possibility-for-getServer-singleton.patch
+++ b/Spigot-Server-Patches/0141-remove-null-possibility-for-getServer-singleton.patch
@@ -1,4 +1,4 @@
-From 12deafddafaa2e61cdb9d05f32dc8a5d143a9c74 Mon Sep 17 00:00:00 2001
+From 04bef9c46051bdfcb0a745a022be5defef1da644 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Thu, 28 Apr 2016 00:57:27 -0400
 Subject: [PATCH] remove null possibility for getServer singleton
diff --git a/Spigot-Server-Patches/0143-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch b/Spigot-Server-Patches/0142-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
similarity index 97%
rename from Spigot-Server-Patches/0143-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
rename to Spigot-Server-Patches/0142-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
index 4142750f37..299637e7b3 100644
--- a/Spigot-Server-Patches/0143-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
+++ b/Spigot-Server-Patches/0142-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
@@ -1,4 +1,4 @@
-From 5395987701e0de5b725031c31c928050b726c248 Mon Sep 17 00:00:00 2001
+From 2a93008a600628a5df218771c20eeb641af1f49e Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 29 Apr 2016 20:02:00 -0400
 Subject: [PATCH] Improve Maps (in item frames) performance and bug fixes
@@ -48,10 +48,10 @@ index 413925e..f505e3c 100644
                  Iterator iterator = this.trackedPlayers.iterator(); // CraftBukkit
  
 diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index b3165eb..38a3692 100644
+index 8479c6e..98fe386 100644
 --- a/src/main/java/net/minecraft/server/World.java
 +++ b/src/main/java/net/minecraft/server/World.java
-@@ -1148,6 +1148,7 @@ public abstract class World implements IBlockAccess {
+@@ -1157,6 +1157,7 @@ public abstract class World implements IBlockAccess {
                      {
                          if ( iter.next().trackee == entity )
                          {
diff --git a/Spigot-Server-Patches/0144-LootTable-API-Replenishable-Lootables-Feature.patch b/Spigot-Server-Patches/0143-LootTable-API-Replenishable-Lootables-Feature.patch
similarity index 99%
rename from Spigot-Server-Patches/0144-LootTable-API-Replenishable-Lootables-Feature.patch
rename to Spigot-Server-Patches/0143-LootTable-API-Replenishable-Lootables-Feature.patch
index 4332f24b88..061b69090c 100644
--- a/Spigot-Server-Patches/0144-LootTable-API-Replenishable-Lootables-Feature.patch
+++ b/Spigot-Server-Patches/0143-LootTable-API-Replenishable-Lootables-Feature.patch
@@ -1,4 +1,4 @@
-From 1ac7c10918e24d0ba8739bb98c10e92d4c22bbbb Mon Sep 17 00:00:00 2001
+From 0e07bd7fe9f2f38d0339008bd2793aa6a24a73cd Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sun, 1 May 2016 21:19:14 -0400
 Subject: [PATCH] LootTable API & Replenishable Lootables Feature
diff --git a/Spigot-Server-Patches/0145-Do-not-load-chunks-for-pathfinding.patch b/Spigot-Server-Patches/0144-Do-not-load-chunks-for-pathfinding.patch
similarity index 92%
rename from Spigot-Server-Patches/0145-Do-not-load-chunks-for-pathfinding.patch
rename to Spigot-Server-Patches/0144-Do-not-load-chunks-for-pathfinding.patch
index ffaef7de68..3d653e3bde 100644
--- a/Spigot-Server-Patches/0145-Do-not-load-chunks-for-pathfinding.patch
+++ b/Spigot-Server-Patches/0144-Do-not-load-chunks-for-pathfinding.patch
@@ -1,4 +1,4 @@
-From d17e644ae739920dd3b964a8d17be4bebddcd73f Mon Sep 17 00:00:00 2001
+From 317f5c917e682c5e8c4aab755556541a015f2e6e Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Tue, 19 Jan 2016 00:13:19 -0500
 Subject: [PATCH] Do not load chunks for pathfinding
diff --git a/Spigot-Server-Patches/0146-Entity-Tracking-Improvements.patch b/Spigot-Server-Patches/0145-Entity-Tracking-Improvements.patch
similarity index 98%
rename from Spigot-Server-Patches/0146-Entity-Tracking-Improvements.patch
rename to Spigot-Server-Patches/0145-Entity-Tracking-Improvements.patch
index 3bf0dc49cc..a03e08185c 100644
--- a/Spigot-Server-Patches/0146-Entity-Tracking-Improvements.patch
+++ b/Spigot-Server-Patches/0145-Entity-Tracking-Improvements.patch
@@ -1,4 +1,4 @@
-From b3b374803b9f4e4a4afe64e5ca8bb6fd946449ab Mon Sep 17 00:00:00 2001
+From 8b396c2ea8d8042baef4042fc6fec5bb2fb6152f Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 17 Jun 2013 01:24:00 -0400
 Subject: [PATCH] Entity Tracking Improvements
diff --git a/Spigot-Server-Patches/0147-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch b/Spigot-Server-Patches/0146-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch
similarity index 96%
rename from Spigot-Server-Patches/0147-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch
rename to Spigot-Server-Patches/0146-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch
index 9bf2d1b5f9..209da4f1fa 100644
--- a/Spigot-Server-Patches/0147-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch
+++ b/Spigot-Server-Patches/0146-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch
@@ -1,4 +1,4 @@
-From 33702c0ad5a5fa70ee060427c5a5b86a6fb07d98 Mon Sep 17 00:00:00 2001
+From 7ac9506d355be738247bdc6cfc04894ce8ab7f8b Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sat, 7 May 2016 23:33:08 -0400
 Subject: [PATCH] Don't save empty scoreboard teams to scoreboard.dat
diff --git a/Spigot-Server-Patches/0148-Do-not-mark-chunks-as-active-for-neighbor-updates.patch b/Spigot-Server-Patches/0147-Do-not-mark-chunks-as-active-for-neighbor-updates.patch
similarity index 94%
rename from Spigot-Server-Patches/0148-Do-not-mark-chunks-as-active-for-neighbor-updates.patch
rename to Spigot-Server-Patches/0147-Do-not-mark-chunks-as-active-for-neighbor-updates.patch
index 667856eeca..677422d048 100644
--- a/Spigot-Server-Patches/0148-Do-not-mark-chunks-as-active-for-neighbor-updates.patch
+++ b/Spigot-Server-Patches/0147-Do-not-mark-chunks-as-active-for-neighbor-updates.patch
@@ -1,4 +1,4 @@
-From 2eac14cc481adc373ca6a73bcfe96ff35a020a60 Mon Sep 17 00:00:00 2001
+From 9d9f8c72a5dcc526b661b7f906279cfde77f0ddf Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Thu, 12 May 2016 01:55:17 -0400
 Subject: [PATCH] Do not mark chunks as active for neighbor updates
@@ -6,10 +6,10 @@ Subject: [PATCH] Do not mark chunks as active for neighbor updates
 Fixes chunk unload issues
 
 diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index d670671..2b7679f 100644
+index 3419d0f..a2d9f62 100644
 --- a/src/main/java/net/minecraft/server/Chunk.java
 +++ b/src/main/java/net/minecraft/server/Chunk.java
-@@ -995,25 +995,25 @@ public class Chunk {
+@@ -1003,25 +1003,25 @@ public class Chunk {
          }
          // CraftBukkit end
  
diff --git a/Spigot-Server-Patches/0149-Fix-Chunk-Unload-Queue-Issues.patch b/Spigot-Server-Patches/0148-Fix-Chunk-Unload-Queue-Issues.patch
similarity index 94%
rename from Spigot-Server-Patches/0149-Fix-Chunk-Unload-Queue-Issues.patch
rename to Spigot-Server-Patches/0148-Fix-Chunk-Unload-Queue-Issues.patch
index 596b545161..ef841abeaa 100644
--- a/Spigot-Server-Patches/0149-Fix-Chunk-Unload-Queue-Issues.patch
+++ b/Spigot-Server-Patches/0148-Fix-Chunk-Unload-Queue-Issues.patch
@@ -1,4 +1,4 @@
-From de46bb6b526dcd7ed0ca8eb07e08340ce4c670f5 Mon Sep 17 00:00:00 2001
+From d3ff485bf65704cddbc2b3ef9864d07dc56453c9 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Thu, 12 May 2016 02:03:56 -0400
 Subject: [PATCH] Fix Chunk Unload Queue Issues
@@ -9,7 +9,7 @@ has not resolved all the bugs with the changes.
 This patch fixes known issues and really should be applied by Spigot team.
 
 diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index 2b7679f..44f576e 100644
+index a2d9f62..a1f7e83 100644
 --- a/src/main/java/net/minecraft/server/Chunk.java
 +++ b/src/main/java/net/minecraft/server/Chunk.java
 @@ -46,7 +46,7 @@ public class Chunk {
diff --git a/Spigot-Server-Patches/0150-System-property-for-disabling-watchdoge.patch b/Spigot-Server-Patches/0149-System-property-for-disabling-watchdoge.patch
similarity index 93%
rename from Spigot-Server-Patches/0150-System-property-for-disabling-watchdoge.patch
rename to Spigot-Server-Patches/0149-System-property-for-disabling-watchdoge.patch
index 0ec29e1e37..76b3043f13 100644
--- a/Spigot-Server-Patches/0150-System-property-for-disabling-watchdoge.patch
+++ b/Spigot-Server-Patches/0149-System-property-for-disabling-watchdoge.patch
@@ -1,4 +1,4 @@
-From c7078febc6fdfb8ac49a31303d57d298d89a026e Mon Sep 17 00:00:00 2001
+From 74b09046787728d12af571cf9ed96cb54ea3b3eb Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Thu, 12 May 2016 23:02:58 -0500
 Subject: [PATCH] System property for disabling watchdoge
diff --git a/Spigot-Server-Patches/0151-Optimize-EAR.patch b/Spigot-Server-Patches/0150-Optimize-EAR.patch
similarity index 97%
rename from Spigot-Server-Patches/0151-Optimize-EAR.patch
rename to Spigot-Server-Patches/0150-Optimize-EAR.patch
index 84a5d506c1..5aa2063d88 100644
--- a/Spigot-Server-Patches/0151-Optimize-EAR.patch
+++ b/Spigot-Server-Patches/0150-Optimize-EAR.patch
@@ -1,4 +1,4 @@
-From 3a976afbedde9e6e9edd83453c83c83c6431f686 Mon Sep 17 00:00:00 2001
+From 978ed103e4eaa5ba1b5ed1688cebf74407c6c6fb Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 13 May 2016 01:38:06 -0400
 Subject: [PATCH] Optimize EAR
diff --git a/Spigot-Server-Patches/0152-Optimize-UserCache-Thread-Safe.patch b/Spigot-Server-Patches/0151-Optimize-UserCache-Thread-Safe.patch
similarity index 98%
rename from Spigot-Server-Patches/0152-Optimize-UserCache-Thread-Safe.patch
rename to Spigot-Server-Patches/0151-Optimize-UserCache-Thread-Safe.patch
index 1018444546..5be45e9c8a 100644
--- a/Spigot-Server-Patches/0152-Optimize-UserCache-Thread-Safe.patch
+++ b/Spigot-Server-Patches/0151-Optimize-UserCache-Thread-Safe.patch
@@ -1,4 +1,4 @@
-From 8fe65882bdab6c572f9c34533160c69dd877a92b Mon Sep 17 00:00:00 2001
+From cd24299884c8332c642d17def56fb348eea786fd Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 16 May 2016 20:47:41 -0400
 Subject: [PATCH] Optimize UserCache / Thread Safe
diff --git a/Spigot-Server-Patches/0153-MC-99914-ensure-EntityItem-loads-before-EntityPotion.patch b/Spigot-Server-Patches/0152-MC-99914-ensure-EntityItem-loads-before-EntityPotion.patch
similarity index 96%
rename from Spigot-Server-Patches/0153-MC-99914-ensure-EntityItem-loads-before-EntityPotion.patch
rename to Spigot-Server-Patches/0152-MC-99914-ensure-EntityItem-loads-before-EntityPotion.patch
index 9b9cf51f60..212b97e2e4 100644
--- a/Spigot-Server-Patches/0153-MC-99914-ensure-EntityItem-loads-before-EntityPotion.patch
+++ b/Spigot-Server-Patches/0152-MC-99914-ensure-EntityItem-loads-before-EntityPotion.patch
@@ -1,4 +1,4 @@
-From be421cca86540ac31adfb56cb0d6ce8110f8613b Mon Sep 17 00:00:00 2001
+From 3490ddd51256ba1788e4f8b0b7afee1f04f19498 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 16 May 2016 22:54:36 -0400
 Subject: [PATCH] MC-99914 - ensure EntityItem loads before EntityPotion
diff --git a/Spigot-Server-Patches/0154-Avoid-blocking-on-Network-Manager-creation.patch b/Spigot-Server-Patches/0153-Avoid-blocking-on-Network-Manager-creation.patch
similarity index 97%
rename from Spigot-Server-Patches/0154-Avoid-blocking-on-Network-Manager-creation.patch
rename to Spigot-Server-Patches/0153-Avoid-blocking-on-Network-Manager-creation.patch
index db9dc55795..8cacb30f51 100644
--- a/Spigot-Server-Patches/0154-Avoid-blocking-on-Network-Manager-creation.patch
+++ b/Spigot-Server-Patches/0153-Avoid-blocking-on-Network-Manager-creation.patch
@@ -1,4 +1,4 @@
-From 758896f0432b1030722b0b4696f89747feaef889 Mon Sep 17 00:00:00 2001
+From 2ad56b9c1251e19cba94064d448640141c4e805d Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Mon, 16 May 2016 23:19:16 -0400
 Subject: [PATCH] Avoid blocking on Network Manager creation
diff --git a/Spigot-Server-Patches/0155-Optional-old-TNT-cannon-behaviors.patch b/Spigot-Server-Patches/0154-Optional-old-TNT-cannon-behaviors.patch
similarity index 99%
rename from Spigot-Server-Patches/0155-Optional-old-TNT-cannon-behaviors.patch
rename to Spigot-Server-Patches/0154-Optional-old-TNT-cannon-behaviors.patch
index 7ec0a7bd99..c6cce851b7 100644
--- a/Spigot-Server-Patches/0155-Optional-old-TNT-cannon-behaviors.patch
+++ b/Spigot-Server-Patches/0154-Optional-old-TNT-cannon-behaviors.patch
@@ -1,4 +1,4 @@
-From 3f55bd6e20e89b8c35bd813cb081e4381e894ad6 Mon Sep 17 00:00:00 2001
+From d91fecdc72088d80f3f0ce7725970524513417d2 Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Sun, 22 May 2016 20:20:55 -0500
 Subject: [PATCH] Optional old TNT cannon behaviors
diff --git a/Spigot-Server-Patches/0156-Faster-redstone-torch-rapid-clock-removal.patch b/Spigot-Server-Patches/0155-Faster-redstone-torch-rapid-clock-removal.patch
similarity index 96%
rename from Spigot-Server-Patches/0156-Faster-redstone-torch-rapid-clock-removal.patch
rename to Spigot-Server-Patches/0155-Faster-redstone-torch-rapid-clock-removal.patch
index 25162cea6f..668dca2a35 100644
--- a/Spigot-Server-Patches/0156-Faster-redstone-torch-rapid-clock-removal.patch
+++ b/Spigot-Server-Patches/0155-Faster-redstone-torch-rapid-clock-removal.patch
@@ -1,4 +1,4 @@
-From 78b7716582545dd15e67518bfd5a395a4b474e3d Mon Sep 17 00:00:00 2001
+From c4afaa0de50ca681f3872b7c424e9e049a05469a Mon Sep 17 00:00:00 2001
 From: Martin Panzer <postremus1996@googlemail.com>
 Date: Mon, 23 May 2016 12:12:37 +0200
 Subject: [PATCH] Faster redstone torch rapid clock removal
diff --git a/Spigot-Server-Patches/0157-Ensure-Chunks-never-ever-load-async.patch b/Spigot-Server-Patches/0156-Ensure-Chunks-never-ever-load-async.patch
similarity index 97%
rename from Spigot-Server-Patches/0157-Ensure-Chunks-never-ever-load-async.patch
rename to Spigot-Server-Patches/0156-Ensure-Chunks-never-ever-load-async.patch
index 99879275bd..6a10c60066 100644
--- a/Spigot-Server-Patches/0157-Ensure-Chunks-never-ever-load-async.patch
+++ b/Spigot-Server-Patches/0156-Ensure-Chunks-never-ever-load-async.patch
@@ -1,4 +1,4 @@
-From 71e41aa5a152433d30973e4639560c33bc6f4944 Mon Sep 17 00:00:00 2001
+From ea485cf2940bdf54d4f7143860c44bb100c27749 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Fri, 27 May 2016 21:41:26 -0400
 Subject: [PATCH] Ensure Chunks never ever load async
diff --git a/Spigot-Server-Patches/0158-Add-server-name-parameter.patch b/Spigot-Server-Patches/0157-Add-server-name-parameter.patch
similarity index 93%
rename from Spigot-Server-Patches/0158-Add-server-name-parameter.patch
rename to Spigot-Server-Patches/0157-Add-server-name-parameter.patch
index 79db798d28..9650927a8b 100644
--- a/Spigot-Server-Patches/0158-Add-server-name-parameter.patch
+++ b/Spigot-Server-Patches/0157-Add-server-name-parameter.patch
@@ -1,4 +1,4 @@
-From b841cdad01fcb9f986fe2b62a74a0ad2fe2c0d02 Mon Sep 17 00:00:00 2001
+From b58b5199f245fa8d5cea7b3cc0741ba9e589591a Mon Sep 17 00:00:00 2001
 From: Martin Panzer <postremus1996@googlemail.com>
 Date: Sat, 28 May 2016 16:54:03 +0200
 Subject: [PATCH] Add server-name parameter
diff --git a/Spigot-Server-Patches/0159-Only-send-Dragon-Wither-Death-sounds-to-same-world.patch b/Spigot-Server-Patches/0158-Only-send-Dragon-Wither-Death-sounds-to-same-world.patch
similarity index 97%
rename from Spigot-Server-Patches/0159-Only-send-Dragon-Wither-Death-sounds-to-same-world.patch
rename to Spigot-Server-Patches/0158-Only-send-Dragon-Wither-Death-sounds-to-same-world.patch
index ede0c4a703..39ee6223ef 100644
--- a/Spigot-Server-Patches/0159-Only-send-Dragon-Wither-Death-sounds-to-same-world.patch
+++ b/Spigot-Server-Patches/0158-Only-send-Dragon-Wither-Death-sounds-to-same-world.patch
@@ -1,4 +1,4 @@
-From ae529492e9271da265645b49c7904b8550c52a2e Mon Sep 17 00:00:00 2001
+From 623109be2ae9e2d0333a56d797a67e5616f6dc59 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Tue, 31 May 2016 22:53:50 -0400
 Subject: [PATCH] Only send Dragon/Wither Death sounds to same world
diff --git a/Spigot-Server-Patches/0160-Fix-FallingBlocks-being-stuck-on-fences.patch b/Spigot-Server-Patches/0159-Fix-FallingBlocks-being-stuck-on-fences.patch
similarity index 98%
rename from Spigot-Server-Patches/0160-Fix-FallingBlocks-being-stuck-on-fences.patch
rename to Spigot-Server-Patches/0159-Fix-FallingBlocks-being-stuck-on-fences.patch
index 6198e65d93..b9eb7f653f 100644
--- a/Spigot-Server-Patches/0160-Fix-FallingBlocks-being-stuck-on-fences.patch
+++ b/Spigot-Server-Patches/0159-Fix-FallingBlocks-being-stuck-on-fences.patch
@@ -1,4 +1,4 @@
-From f7d3992b007ff1f1a38a0bcb039924e45443f3e1 Mon Sep 17 00:00:00 2001
+From 550ed2c592716e42b0318ac613c2df70e1c02743 Mon Sep 17 00:00:00 2001
 From: Martin Panzer <postremus1996@googlemail.com>
 Date: Fri, 3 Jun 2016 23:13:39 +0200
 Subject: [PATCH] Fix FallingBlocks being stuck on fences
diff --git a/Spigot-Server-Patches/0161-MC-80966-Always-send-chunk-sections.patch b/Spigot-Server-Patches/0160-MC-80966-Always-send-chunk-sections.patch
similarity index 88%
rename from Spigot-Server-Patches/0161-MC-80966-Always-send-chunk-sections.patch
rename to Spigot-Server-Patches/0160-MC-80966-Always-send-chunk-sections.patch
index 12775629e3..f10d3a6cfe 100644
--- a/Spigot-Server-Patches/0161-MC-80966-Always-send-chunk-sections.patch
+++ b/Spigot-Server-Patches/0160-MC-80966-Always-send-chunk-sections.patch
@@ -1,11 +1,11 @@
-From 22949033a0b643aa9b7496d9a9f403955f9ea30e Mon Sep 17 00:00:00 2001
+From 506ce6cd06c9470e86bfb6daada661c52da34c39 Mon Sep 17 00:00:00 2001
 From: Zach Brown <zach.brown@destroystokyo.com>
 Date: Sat, 11 Jun 2016 14:59:15 -0500
 Subject: [PATCH] MC-80966 - Always send chunk sections
 
 
 diff --git a/src/main/java/net/minecraft/server/ChunkSection.java b/src/main/java/net/minecraft/server/ChunkSection.java
-index fc5c895..b2e81f0 100644
+index a12fa23..27d0f99 100644
 --- a/src/main/java/net/minecraft/server/ChunkSection.java
 +++ b/src/main/java/net/minecraft/server/ChunkSection.java
 @@ -64,7 +64,9 @@ public class ChunkSection {
diff --git a/Spigot-Server-Patches/0162-Make-entities-look-for-hoppers.patch b/Spigot-Server-Patches/0161-Make-entities-look-for-hoppers.patch
similarity index 99%
rename from Spigot-Server-Patches/0162-Make-entities-look-for-hoppers.patch
rename to Spigot-Server-Patches/0161-Make-entities-look-for-hoppers.patch
index 1e314a644f..ca15aa3009 100644
--- a/Spigot-Server-Patches/0162-Make-entities-look-for-hoppers.patch
+++ b/Spigot-Server-Patches/0161-Make-entities-look-for-hoppers.patch
@@ -1,4 +1,4 @@
-From c436a9500087034302404bacba1cff63fbd8edfe Mon Sep 17 00:00:00 2001
+From 002cc7e522a849abd35c3f69170c669965d89125 Mon Sep 17 00:00:00 2001
 From: Techcable <Techcable@outlook.com>
 Date: Sat, 18 Jun 2016 01:01:37 -0500
 Subject: [PATCH] Make entities look for hoppers
@@ -92,7 +92,7 @@ index 40ede20..0d2af96 100644
 +    }
  }
 diff --git a/src/main/java/net/minecraft/server/BlockPosition.java b/src/main/java/net/minecraft/server/BlockPosition.java
-index 557fa3a..a2ffbda 100644
+index d6cc51b..5bbaa87 100644
 --- a/src/main/java/net/minecraft/server/BlockPosition.java
 +++ b/src/main/java/net/minecraft/server/BlockPosition.java
 @@ -265,6 +265,7 @@ public class BlockPosition extends BaseBlockPosition {
@@ -111,7 +111,7 @@ index 557fa3a..a2ffbda 100644
          public void t() {
              List list = BlockPosition.PooledBlockPosition.g;
  
-@@ -388,6 +390,7 @@ public class BlockPosition extends BaseBlockPosition {
+@@ -392,6 +394,7 @@ public class BlockPosition extends BaseBlockPosition {
              return this.d;
          }
  
diff --git a/Spigot-Server-Patches/0163-Remove-the-item-from-the-correct-hand-when-spawn-egg.patch b/Spigot-Server-Patches/0162-Remove-the-item-from-the-correct-hand-when-spawn-egg.patch
similarity index 96%
rename from Spigot-Server-Patches/0163-Remove-the-item-from-the-correct-hand-when-spawn-egg.patch
rename to Spigot-Server-Patches/0162-Remove-the-item-from-the-correct-hand-when-spawn-egg.patch
index 84560993c5..aa8a2a770c 100644
--- a/Spigot-Server-Patches/0163-Remove-the-item-from-the-correct-hand-when-spawn-egg.patch
+++ b/Spigot-Server-Patches/0162-Remove-the-item-from-the-correct-hand-when-spawn-egg.patch
@@ -1,4 +1,4 @@
-From 67a3f4d187452a4ae645384dae02d15385f29924 Mon Sep 17 00:00:00 2001
+From 309155e60dfea8ae854c916ea11bac7420f07cf1 Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sat, 18 Jun 2016 01:49:22 -0400
 Subject: [PATCH] Remove the item from the correct hand when spawn egg depletes
diff --git a/Spigot-Server-Patches/0164-Delay-Chunk-Unloads-based-on-Player-Movement.patch b/Spigot-Server-Patches/0163-Delay-Chunk-Unloads-based-on-Player-Movement.patch
similarity index 98%
rename from Spigot-Server-Patches/0164-Delay-Chunk-Unloads-based-on-Player-Movement.patch
rename to Spigot-Server-Patches/0163-Delay-Chunk-Unloads-based-on-Player-Movement.patch
index c0994f9614..f78635fe65 100644
--- a/Spigot-Server-Patches/0164-Delay-Chunk-Unloads-based-on-Player-Movement.patch
+++ b/Spigot-Server-Patches/0163-Delay-Chunk-Unloads-based-on-Player-Movement.patch
@@ -1,4 +1,4 @@
-From 31396d83160793eeeb8e6e41514248824564d99d Mon Sep 17 00:00:00 2001
+From 776d47ca497b193b30704249cfcab519e46200fa Mon Sep 17 00:00:00 2001
 From: Aikar <aikar@aikar.co>
 Date: Sat, 18 Jun 2016 23:22:12 -0400
 Subject: [PATCH] Delay Chunk Unloads based on Player Movement
@@ -37,7 +37,7 @@ index 0d2af96..bc41b7e 100644
      private void isHopperPushBased() {
          isHopperPushBased = getBoolean("hopper.push-based", true);
 diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index 44f576e..ca46636 100644
+index a1f7e83..30c3d6c 100644
 --- a/src/main/java/net/minecraft/server/Chunk.java
 +++ b/src/main/java/net/minecraft/server/Chunk.java
 @@ -30,6 +30,7 @@ public class Chunk {
diff --git a/Spigot-Server-Patches/0165-Toggleable-Elytra-Wall-Damage.patch b/Spigot-Server-Patches/0164-Toggleable-Elytra-Wall-Damage.patch
similarity index 96%
rename from Spigot-Server-Patches/0165-Toggleable-Elytra-Wall-Damage.patch
rename to Spigot-Server-Patches/0164-Toggleable-Elytra-Wall-Damage.patch
index eb91c90e7a..a43103e526 100644
--- a/Spigot-Server-Patches/0165-Toggleable-Elytra-Wall-Damage.patch
+++ b/Spigot-Server-Patches/0164-Toggleable-Elytra-Wall-Damage.patch
@@ -1,4 +1,4 @@
-From 5220127549bf2f3c226a6072d9a0e8ec3d5beb8e Mon Sep 17 00:00:00 2001
+From 9ad9d1c4d3ace74fd385eaa812a67d6d877f0ffc Mon Sep 17 00:00:00 2001
 From: Jadon Fowler <jadonflower@gmail.com>
 Date: Sat, 18 Jun 2016 23:13:59 -0700
 Subject: [PATCH] Toggleable Elytra Wall Damage