Commit Graph

70 Commits

Author SHA1 Message Date
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
Zach Brown
712213dacc Fix player dimension change invulnerability never getting unset when certain dimensions are disabled 2016-03-24 08:48:04 +11:00
md_5
23a94053b0 Remove redundant syncInventory on world change 2016-03-06 16:25:50 +11:00
md_5
972d33dd44 SPIGOT-1573: Fix command blocks after respawning 2016-03-06 14:35:33 +11:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
Thinkofdeath
75593ab621 SPIGOT-1308: Fix typo in PlayerList#sendAll 2016-01-22 11:13:34 +00:00
md_5
af00fd2a20 SPIGOT-1058: Fix lost player list capping to 60.
Went missing in the 1.8 update.
2015-07-18 12:39:45 +10:00
Thinkofdeath
53433de98d SPIGOT-954: Don't send block animations or gamemode updates to players can't see the player 2015-06-07 21:04:28 +01:00
md_5
a65e45d889 [SPIGOT-946] Begin making use of access transforms to simplify patching. 2015-06-06 19:46:42 +10:00
md_5
d63abf6cf1 Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
Thinkofdeath
a486600749 Update to 1.8.4 2015-05-17 10:32:59 +01:00
Thinkofdeath
0af2738ae2 Fire PlayerTeleport event on portal travel 2015-03-21 20:36:38 +00:00
Thinkofdeath
ad2f806097 Only double switch if the dimension is the same 2015-03-08 10:58:10 +00:00
Thinkofdeath
d03ffbf54b Readd the double dimension switch 2015-03-08 10:28:12 +00:00