Commit graph

63 commits

Author SHA1 Message Date
CraftBukkit/Spigot
f578d94680 Update to Minecraft 1.13.1
By: md_5 <git@md-5.net>
2018-08-26 12:00:00 +10:00
CraftBukkit/Spigot
1e014acb80 Update to Minecraft 1.13
By: md_5 <git@md-5.net>
2018-07-22 12:00:00 +10:00
CraftBukkit/Spigot
7e0a66fdd5 Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
CraftBukkit/Spigot
5c81a06a72 SPIGOT-3879: Make end->overworld spawning more consistent with vanilla
By: md_5 <git@md-5.net>
2018-03-30 19:16:53 +11:00
CraftBukkit/Spigot
ade15e1627 SPIGOT-3864: Protect against suffocation on world change
By: md_5 <git@md-5.net>
2018-03-22 21:05:34 +11:00
CraftBukkit/Spigot
6c0f3574b1 SPIGOT-3845: Fix spawnRadius on respawn
Thanks senmori for the investigation in PR #431

By: md_5 <git@md-5.net>
2018-03-07 21:43:33 +11:00
CraftBukkit/Spigot
bf003c508a SPIGOT-3775: ghost player list entry if kicked on join
By: md_5 <git@md-5.net>
2018-01-23 22:49:26 +11:00
CraftBukkit/Spigot
a9afd0a670 Send complete metadata update to joining players
By: md_5 <git@md-5.net>
2018-01-08 19:48:32 +11:00
CraftBukkit/Spigot
0cda4f9617 Update to Minecraft 1.12.1
By: md_5 <git@md-5.net>
2017-08-03 23:00:00 +10:00
CraftBukkit/Spigot
e2d75dccb4 Fix memory leak in PlayerList
By: md_5 <git@md-5.net>
2017-07-17 09:55:47 +10:00
CraftBukkit/Spigot
13bcc894ec SPIGOT-3377: Fix subspace bubble advancement
By: md_5 <git@md-5.net>
2017-06-26 10:16:54 +10:00
CraftBukkit/Spigot
ea6ca4328a Update to Minecraft 1.12-pre6
By: md_5 <git@md-5.net>
2017-05-30 21:25:59 +10:00
CraftBukkit/Spigot
530fe41851 Update to Minecraft 1.12-pre5
By: md_5 <git@md-5.net>
2017-05-19 21:00:13 +10:00
CraftBukkit/Spigot
5317a74e0a Misc advancement / recipe reload fixes including SPIGOT-3240
By: md_5 <git@md-5.net>
2017-05-16 21:22:07 +10:00
CraftBukkit/Spigot
40c8954e17 Update to Minecraft 1.12-pre2
By: md_5 <git@md-5.net>
2017-05-14 12:00:00 +10:00
CraftBukkit/Spigot
c5b0a788e9 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.

By: Pokechu22 <Pokechu022@gmail.com>
2017-04-27 21:53:31 -07:00
CraftBukkit/Spigot
14c31d360f Remove players from vehicle when changing world via NMS methods.
By: md_5 <git@md-5.net>
2017-04-21 14:56:41 +10:00
CraftBukkit/Spigot
49376274b6 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.

By: Pokechu22 <Pokechu022@gmail.com>
2017-01-18 17:42:35 -08:00
CraftBukkit/Spigot
f9a809b2ba Update to Minecraft 1.11.1
By: md_5 <git@md-5.net>
2016-12-21 07:00:00 +11:00
CraftBukkit/Spigot
1070f2682f Fix possible leaks in vanish API
By: md_5 <git@md-5.net>
2016-11-28 10:02:40 +11:00
CraftBukkit/Spigot
4e412ab4e3 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:41:03 +11:00
CraftBukkit/Spigot
cf579b12bc SPIGOT-1903, MC-98153: Portal Location Sync Issues
By: md_5 <git@md-5.net>
2016-10-23 14:00:35 +11:00
CraftBukkit/Spigot
7b4d8c3f3f SPIGOT-2622: Ensure all players are safely disconnected on shutdown
By: md_5 <git@md-5.net>
2016-08-23 14:02:48 +10:00
CraftBukkit/Spigot
64ee97bc2f SPIGOT-2501: Remove period from default quit message
By: md_5 <git@md-5.net>
2016-07-07 10:43:49 +10:00
CraftBukkit/Spigot
8af31adf18 SPIGOT-2461: Call player tick specifically
By: md_5 <git@md-5.net>
2016-06-28 11:44:48 +10:00
CraftBukkit/Spigot
a526b5311c SPIGOT-924: Compute attributes one last time after quitting
By: md_5 <git@md-5.net>
2016-06-25 20:38:13 +10:00
CraftBukkit/Spigot
a39b7e5f3a Update to Minecraft 1.10
By: md_5 <git@md-5.net>
2016-06-09 11:43:49 +10:00
CraftBukkit/Spigot
69c6c3d92c SPIGOT-2311: Cancelling PlayerPortalEvent causes invulnerability until relog
By: md_5 <git@md-5.net>
2016-05-25 18:25:49 +10:00
CraftBukkit/Spigot
d506c12c07 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:39 +10:00
CraftBukkit/Spigot
22bfd9c3e9 SPIGOT-2115: Fix entities being added to the world multiple times when teleported
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-02 01:12:03 +01:00
CraftBukkit/Spigot
97cca957f7 Fix player dimension change invulnerability never getting unset when certain dimensions are disabled
By: Zach Brown <zach.brown@destroystokyo.com>
2016-03-22 12:39:41 -05:00
CraftBukkit/Spigot
6a2a8d0d3f Remove redundant syncInventory on world change
By: md_5 <git@md-5.net>
2016-03-06 16:25:50 +11:00
CraftBukkit/Spigot
5b0dae1d7c SPIGOT-1573: Fix command blocks after respawning
By: md_5 <git@md-5.net>
2016-03-06 14:35:33 +11:00
CraftBukkit/Spigot
21d4bf5d1f Update to Minecraft 1.9
By: md_5 <git@md-5.net>
2016-03-01 08:32:46 +11:00
CraftBukkit/Spigot
99fbeecd40 SPIGOT-1308: Fix typo in PlayerList#sendAll
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-01-22 11:13:34 +00:00
CraftBukkit/Spigot
ba5443ae84 SPIGOT-1058: Fix lost player list capping to 60.
Went missing in the 1.8 update.

By: md_5 <git@md-5.net>
2015-07-18 12:39:45 +10:00
CraftBukkit/Spigot
611e993245 SPIGOT-954: Don't send block animations or gamemode updates to players can't see the player
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-07 21:04:28 +01:00
CraftBukkit/Spigot
58abe21c5a [SPIGOT-946] Begin making use of access transforms to simplify patching.
By: md_5 <git@md-5.net>
2015-06-06 19:33:48 +10:00
CraftBukkit/Spigot
6c1c28bd14 Cut fluff from patch headers.
By: md_5 <git@md-5.net>
2015-05-25 20:37:24 +10:00
CraftBukkit/Spigot
38b1bb1aef Update to 1.8.4
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-05 21:43:47 +01:00
CraftBukkit/Spigot
e1387f5ef4 Fire PlayerTeleport event on portal travel
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-21 20:36:38 +00:00
CraftBukkit/Spigot
985e4a2961 Only double switch if the dimension is the same
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 10:58:10 +00:00
CraftBukkit/Spigot
cbd4463daa Readd the double dimension switch
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 10:28:12 +00:00
CraftBukkit/Spigot
85be409b13 Update to Minecraft 1.8.3
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-26 22:41:06 +00:00
CraftBukkit/Spigot
e89fe15799 Remove the double dimension switch as the issue seems fixed, if it breaks something blame SupaHam
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-18 21:30:58 +00:00
CraftBukkit/Spigot
a270799286 Handle new players correctly
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-04 20:33:06 +00:00
CraftBukkit/Spigot
236cb88c53 Improve vanilla's rename detection by using bukkit's lastKnownName nbt tag
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-04 19:29:07 +00:00
CraftBukkit/Spigot
7a9f4fb3c1 Re-enable the vanilla feature of changing the join message if a player has changed name since their last join
This uses the UserCache (like vanilla) and therefore is limited to whether
they are still in the cache by the next join

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-03 23:38:21 +00:00
CraftBukkit/Spigot
33abca2c69 Rework the vanilla link fix so that hover/click events aren't lost
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-13 10:26:06 +00:00
CraftBukkit/Spigot
ed9ee15a91 SPIGOT-199: Default to white instead of black for chat messages
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-13 09:36:35 +00:00