Commit Graph

83 Commits

Author SHA1 Message Date
md_5
7ea3c040bc
Update to Minecraft 1.16.1 2020-06-25 10:00:00 +10:00
md_5
833da9c47d SPIGOT-5799: InventoryCloseEvent fires after PlayerQuitEvent 2020-06-24 09:54:59 +10:00
ShaneBeee
214ffea95e SPIGOT-5727: GameRule doImmediateRespawn cannot be set per-world 2020-05-09 15:45:52 +10:00
SydMontague
aa3a2f2767 #645: Allow statistics to be accessed for offline players 2020-04-05 15:58:43 +10:00
md_5
de42aa13f3 Update to Minecraft 1.15 2019-12-11 09:00:00 +11:00
md_5
fe3930ce00 Update to Minecraft 1.14.3-pre4 2019-06-21 20:00:00 +10:00
md_5
cb3d14c5a7 Update to Minecraft 1.14.2 2019-05-28 06:30:00 +10:00
md_5
89c52b7b0e Update to Minecraft 1.14.1 2019-05-14 10:00:00 +10:00
md_5
8ad02cd9c7 SPIGOT-4900: Rearchitect multiworld support for better compat with new villager AI 2019-05-12 11:15:48 +10:00
md_5
5e0b63c1a0 SPIGOT-4785: Experience etc lost returning from end 2019-04-27 15:43:04 +10:00
md_5
3e700e04e9 SPIGOT-4755: Client freeze when joining world 2019-04-26 09:37:15 +10:00
md_5
ed20842bcf Update to Minecraft 1.14 2019-04-25 12:00:00 +10:00
md_5
a2d787f6eb Update to Minecraft 1.14-pre5 2019-04-23 12:00:00 +10:00
md_5
a83828623b SPIGOT-4562: reducedDebugInfo not updated on world change 2019-01-02 10:57:47 +11:00
md_5
d05c8b1481 Mappings Update 2018-12-26 08:00:00 +11:00
md_5
c64fe5080c Mappings Update 2018-12-13 11:00:00 +11:00
md_5
aa36c8417b Mappings Update 2018-12-06 10:00:00 +11:00
md_5
f489f0f745 SPIGOT-4494: Remove fix for SPIGOT-3864, better handled by SPIGOT-3879 fix 2018-11-20 21:34:15 +11:00
md_5
b4230a9a7e Update to Minecraft 1.13.2 2018-10-23 06:00:00 +11:00
Ugleh
02518f92ab Make setPersistent also control player saving 2018-10-03 20:45:21 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
md_5
1a6b4f5392 Update to Minecraft 1.13 2018-07-22 12:00:00 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
md_5
1daee53916 SPIGOT-3879: Make end->overworld spawning more consistent with vanilla 2018-03-30 19:16:53 +11:00
md_5
29705a0d4f SPIGOT-3864: Protect against suffocation on world change 2018-03-22 21:05:34 +11:00
md_5
7e94e65a1c SPIGOT-3845: Fix spawnRadius on respawn
Thanks senmori for the investigation in PR #431
2018-03-08 18:21:31 +11:00
md_5
4a030536cd SPIGOT-3775: ghost player list entry if kicked on join 2018-01-23 22:49:26 +11:00
md_5
1dced6a2c5 Send complete metadata update to joining players 2018-01-08 19:48:32 +11:00
md_5
2a927e8638 Update to Minecraft 1.12.1 2017-08-03 23:00:00 +10:00
md_5
49c2537fe2 Fix memory leak in PlayerList 2017-07-17 09:55:47 +10:00
md_5
9de5cb59a0 SPIGOT-3377: Fix subspace bubble advancement 2017-06-26 10:16:54 +10:00
md_5
e13d119686 Update to Minecraft 1.12-pre6 2017-05-30 21:55:13 +10:00
md_5
1004352990 Update to Minecraft 1.12-pre5 2017-05-19 21:00:13 +10:00
md_5
45102fcf28 Misc advancement / recipe reload fixes including SPIGOT-3240 2017-05-16 21:22:07 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
Pokechu22
a2af8f0a73 SPIGOT-3207: Fix hiding players in a BukkitRunnable after joining
This happened because "joining" wasn't cleared until the player was ticked.  Runnables (presumably) ran _after_ the player list packet was sent, but before the player was ticked; thus, the player list packet was sent, but not cleared.  The fix is to replace joining with hasSentListPacket, which is set immediately before sending any player list packets (thus, if hidePlayer is called after, it sees that the list packet has been sent and sends a new one to reset it).  With this fix, the player is added to the list and then removed shortly afterwards.

The reason why running /hideall in the example wouldn't fix the invisibility is because the server already thinks the player's been removed from the list (as they're hidden), and thus doesn't want to send another hide packet.  This is correct behavior assuming that they get hidden correctly the first time, which they now do.
2017-04-28 15:27:57 +10:00
md_5
7b044defc0 Remove players from vehicle when changing world via NMS methods. 2017-04-21 14:56:41 +10:00
Pokechu22
4d3bf20155 Re-enable the vanilla debug MethodProfiler and /debug command
This is highly useful for profiling vanilla code, and in some cases plugin code.  It is somewhat expensive, though, which is why it was initially disabled.

I chose to use a system property instead of a configuration setting because 1) the MethodProfiler is exclusive to CraftBukkit and not part of the general API (the timings system is the general API equivalent), and 2) using a static final boolean property _may_ allow the JITter to optimize out the methods when disabled (though I'm not sure of it).

There are several changes to fix cases where the profiler code was broken slightly by other craftbukkit changes.  All of cases have been fixed, except for the block entity ticking one, due to the cost of the getSimpleName call.  For that, a ticking entry is used instead, so that time spent actually ticking the block entities can be compared with time processing the list.

This (effectively) reverts 7dde6cc566.
2017-01-18 17:42:35 -08:00
md_5
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
md_5
d7cce99f01 Fix possible leaks in vanish API 2016-11-28 10:02:40 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5
2e39de698d SPIGOT-1903, MC-98153: Portal Location Sync Issues 2016-10-23 14:00:35 +11:00
md_5
4db0855e3e SPIGOT-2622: Ensure all players are safely disconnected on shutdown 2016-08-23 14:02:48 +10:00
md_5
2239ff0f97 SPIGOT-2501: Remove period from default quit message 2016-07-07 10:43:49 +10:00
md_5
287ef78890 SPIGOT-2461: Call player tick specifically 2016-06-28 11:44:48 +10:00
md_5
ecf4b4238a SPIGOT-924: Compute attributes one last time after quitting 2016-06-25 20:38:13 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
042911fef4 SPIGOT-2311: Cancelling PlayerPortalEvent causes invulnerability until relog 2016-05-25 18:25:49 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
Thinkofname
f01861f80b SPIGOT-2115: Fix entities being added to the world multiple times when teleported 2016-04-02 01:12:03 +01:00