Commit Graph

2343 Commits

Author SHA1 Message Date
Aikar 017c6f73be Optimize NavigationListener Iteration
I don't know what the person who wrote that code was smoking, but I
don't think it was good.

Gets rid of the WeakHashMap that mojang was abusing purely to be lazy
on clean up, and handles registering and deregistering navigation
upon world add/remove operations.
2016-03-08 00:42:48 -05:00
Zach 9ff0d02b57 Merge pull request #62 from PaperSpigot/revert-61-fixNavListener
Revert "Optimize NavigationListener Iteration"
2016-03-07 22:24:52 -06:00
Zach 2919676281 Revert "Optimize NavigationListener Iteration" 2016-03-07 22:24:18 -06:00
Zach ab29b51ffa Merge pull request #61 from starlis/fixNavListener
Optimize NavigationListener Iteration
2016-03-07 22:18:10 -06:00
Aikar d2f5881fa4 Optimize NavigationListener Iteration
I don't know what the person who wrote that code was smoking, but I
don't think it was good.
2016-03-07 22:59:12 -05:00
Aikar e2906382a1 Optimize NavigationListener 2016-03-07 20:45:17 -06:00
Techcable abc4f8df61 Re-add BlocksPos inlining patch 2016-03-07 16:01:34 -06:00
Zach Brown a05bf5ab9f Rebuild patches 2016-03-07 15:54:14 -06:00
md_5 7d05145bf4 SPIGOT-1814: Crop growth rates inverted. 2016-03-07 15:38:25 -06:00
md_5 b2bbaa0190 Rebuild patches 2016-03-07 15:37:49 -06:00
Zach Brown 4811f5cbf9 Upstream merge 2016-03-07 15:37:29 -06:00
Zach Brown 46d8cd6ca7 Rebuild patches 2016-03-07 00:57:19 -06:00
Zach Brown ed123795f4 Update upstream CB 2016-03-07 00:26:57 -06:00
Zach Brown f429e9e043 Update and rebuild patches 2016-03-06 14:59:17 -06:00
md_5 4228de7030 Patch rebuild 2016-03-06 14:51:23 -06:00
md_5 ccba51cd38 Patch rebuild 2016-03-06 14:51:10 -06:00
Zach Brown a34a886ff7 Revert "Update to latest and rebuild ALL patches"
This reverts commit 141ef5a6dc.
2016-03-06 14:49:47 -06:00
Zach Brown 141ef5a6dc Update to latest and rebuild ALL patches 2016-03-06 14:37:28 -06:00
Zach Brown c421fc2469 Update again: Update harder 2016-03-05 18:50:13 -06:00
Zach Brown 35f085a017 Remove our own changes to the chunk save queue 2016-03-05 16:10:11 -06:00
Zach Brown 5ad0ea6eb8 Update CB 2016-03-05 15:35:30 -06:00
md_5 61ab738d3c Patch rebuild 2016-03-05 15:34:34 -06:00
md_5 4b2212247d Correct syncChunkLoadPostTimer stop position. 2016-03-05 15:34:23 -06:00
Aikar 417017308c Chunk save queue improvements 2016-03-04 20:24:42 -06:00
Zach Brown 43091edd3a Fix chest sound playing at the wrong locaton
Closes GH-48
2016-03-04 17:49:32 -06:00
Zach Brown 4076ee569b Update against latest 2016-03-04 15:59:51 -06:00
Zach Brown 142defbe03 Rebuild patches 2016-03-04 15:20:13 -06:00
Zach Brown 7e7db629ed Update against latest upstream versions 2016-03-03 23:50:05 -06:00
md_5 f760b7f0ed BUILDTOOLS-203: Fix invalid javadoc 2016-03-03 23:49:39 -06:00
md_5 2298695b41 Rebuild patches. 2016-03-03 23:49:30 -06:00
Zach Brown 23aa9afb3c Update CraftBukkit 2016-03-03 12:13:21 -06:00
Zach Brown a54fb8d270 Silence BeaconEffectEvent, swallow exception in version checking 2016-03-03 04:48:46 -06:00
Zach Brown 6287e97b6b Update for upstream changes 2016-03-03 04:07:25 -06:00
md_5 c169c4a685 Add missed chunkGC timings start
Pointed out by Andi in Spigot #53
2016-03-03 03:46:57 -06:00
md_5 f3147c4451 SPIGOT-1672: Implement regressed SpawnerSpawnEvent 2016-03-03 03:46:57 -06:00
md_5 7fe3d4c009 Rebuild patches. 2016-03-03 03:46:57 -06:00
md_5 216dd304c5 Patch rebuild. 2016-03-03 03:46:57 -06:00
BlackHole 5842265ff0 SPIGOT-1637: Update bungeecord-chat to 1.9-SNAPSHOT 2016-03-03 03:46:57 -06:00
md_5 f68b7307db SPIGOT-1584: Entity mount / dismount events are backwards 2016-03-03 03:46:57 -06:00
md_5 ea8cad9f21 Rebuild patches. 2016-03-03 03:46:57 -06:00
md_5 aa90f53d4b Rebuild patches 2016-03-03 03:46:57 -06:00
md_5 db3b10ae30 SPIGOT-1546: Use isPassenger, not misleading getVehicle 2016-03-03 03:46:56 -06:00
md_5 c33773ec93 Patch rebuild 2016-03-03 03:46:56 -06:00
md_5 907e323aa6 Patch rebuild. 2016-03-03 03:46:56 -06:00
md_5 4eab08fba1 Fix accidental omission of R revision number in version. 2016-03-03 03:46:56 -06:00
Zach Brown 99fec76702 Paper 1.9 2016-03-03 03:46:49 -06:00
md_5 adb92a86db Update to Minecraft 1.9 2016-03-03 03:46:48 -06:00
Zach Brown f41e8a3d0a Submodules 2016-03-03 03:46:48 -06:00
Joseph Hirschfeld 010c651473 Add exception reporting events 2016-03-03 03:46:48 -06:00
Sudzzy 18b55ae547 Fix inter-world teleportation glitches
People are able to abuse the way Bukkit handles teleportation across worlds since it provides a built in teleportation safety check.

To abuse the safety check, players are required to get into a location deemed unsafe by Bukkit e.g. be within a chest or door block. While they are in this block, they accept a teleport request from a player within a different world. Once the player teleports, Minecraft will recursively search upwards for a safe location, this could eventually land within a player's skybase.

Example setup to perform the glitch: http://puu.sh/ng3PC/cf072dcbdb.png
The wanted destination was on top of the emerald block however the player ended on top of the diamond block. This only is the case if the player is teleporting between worlds.
2016-03-03 03:46:48 -06:00