3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00
Commit graph

2890 Commits

Autor SHA1 Nachricht Datum
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
Matthew
55a1f9ff12 Implement getColor / setColor for TippedArrow 2017-04-26 20:28:27 -04:00
md_5
28d993ccec Skip invalid enchants in CraftMetaItem 2017-04-26 15:45:52 +10:00
Senmori
c19c2932bf Create NBT TypeId helper class 2017-04-22 15:50:30 +10:00
md_5
4acd0f49e0 Enforce proper limits on books. 2017-04-20 21:45:42 +10:00
md_5
be9ef980b9 Implement cooldown API 2017-04-19 18:04:32 +10:00
Lukas Hennig
e04a1793ae Inventory getContents Cleanup 2017-04-17 18:09:15 +10:00
md_5
e17c3d285b Make CraftJukebox.isPlaying locally consistent 2017-04-16 08:26:51 +10:00
md_5
473febc73a Add correct interfaces for comparator / daylight detector 2017-04-16 08:16:49 +10:00
md_5
ac405c3cd4 Fix some blockstate consistency issues. 2017-04-15 18:01:44 +10:00
Pokechu22
1ac133ecc5 SPIGOT-3182: Fix tab-completion in command blocks without leading slash 2017-04-13 17:57:47 -07:00
md_5
b5f7b6d69f SPIGOT-3157: Use Vanilla gamemode change code 2017-03-31 21:21:11 +11:00
Senmori
319013857d Add Chunk.isSlimeChunk to check if a chunk can spawn slimes 2017-03-24 15:17:47 +11:00
Phoenix616
7ea2fbb6eb Add Material.isFuel to check if a material is a furnace fuel. 2017-03-24 15:11:13 +11:00
md_5
91c315273e Fix trailing whitespace in CraftChunk 2017-03-23 20:19:29 +11:00
Parker Hawke
b80055abfb Properly validate player experience bar progress 2017-03-19 18:31:40 -04:00
bramhaag
dfee3d9f9f Add getWidth + getHeight for Entity 2017-03-19 10:51:59 +11:00
md_5
2aa5ac6c92 SPIGOT-3128: Shift VehicleCreateEvent calling. 2017-03-15 20:48:47 +11:00
md_5
eac85911f0 Don't call super update on unplaced command block metas 2017-03-10 20:30:20 +11:00
md_5
962ffda1a8 Add more notch inventory conversions 2017-03-10 20:03:31 +11:00
md_5
d6aa73d16c SPIGOT-3114: Initialize custom SHULKER_BOX slots 2017-03-10 20:01:31 +11:00
md_5
4316a8c246 SPIGOT-3110: SHULKER_BOX InventoryType 2017-03-08 17:56:08 +11:00
md_5
7fce67144d SPIGOT-3108: Hack around mirroring empty item stacks 2017-03-08 14:35:34 +11:00
md_5
4448a7efa4 SPIGOT-3068: API for localized item names 2017-02-16 11:49:46 +11:00
Max Lee
4c8d895513 SPIGOT-2152: Method to set resource pack + hash. 2017-02-15 10:05:56 +11:00
md_5
a552117725 SPIGOT-3054: Correct LLamaSpit launching 2017-02-09 09:14:44 +11:00
md_5
3c48711c05 SPIGOT-3051: Set pitch/yaw for spawned boats 2017-02-06 11:58:42 +11:00
Parker Hawke
dfe4ed1c3e Add implementation for LlamaSpit in ProjectileSource#launchProjectile 2017-02-01 13:14:41 +11:00
md_5
5ae629285e Increase expiration time to two weeks. 2017-01-31 21:39:17 +11:00
md_5
c1aa85918e SPIGOT-3040: Round health to float for validation 2017-01-28 11:41:09 +11:00
md_5
dbf4ecf30f SPIGOT-3037: WorldBorder#isInside(Location) 2017-01-26 11:16:39 +11:00
xGhOsTkiLLeRx
7fdc749bf1 Add API to set Arrow pickup status 2017-01-18 10:01:28 +11:00
md_5
775f1e1f7f SPIGOT-3003: Fix custom dropper / beacons. 2017-01-11 09:53:16 +11:00
md_5
730bb6ac83 10 day build expire 2017-01-09 10:38:33 +11:00
Zach Brown
059434ce92 SPIGOT-826: Add method to retrieve entity by UUID 2017-01-05 14:54:47 +11:00
md_5
7e19325845 SPIGOT-2640: API for multiple passengers per entity 2017-01-04 10:53:07 +11:00
md_5
613be0d841 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion. 2017-01-02 16:13:25 +11:00
md_5
a6d8fa2eac Recover spawn egg data from UNSPECIFIC meta. 2017-01-02 15:29:11 +11:00
md_5
5715b3a6d9 SPIGOT-2977: Pass setAmount(0) through to wrapped ItemStack.
This class needs to be rewritten with more consistent semantics and alignment with Minecraft losing null, but that is probably a job for 1.12
2017-01-02 10:04:19 +11:00
md_5
7c743ff64b SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant 2016-12-27 09:01:22 +11:00
md_5
50acb4477d Increase expire time to 7 days 2016-12-26 09:39:59 +11:00
Ryan Michela
1c7dfaebef SPIGOT-2957 getSeaLevel() should return the real sea level, not a hard-coded value 2016-12-26 09:39:03 +11:00
md_5
96f03d9065 SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK 2016-12-23 22:40:38 +11:00
md_5
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
Lukas Hennig
532457e41d SPIGOT-2923: Added PotionEffectType#getColor() 2016-12-17 09:46:58 +11:00
md_5
217358e845 SPIGOT-2924: Improve handling of Jukeboxes playing nothing. 2016-12-17 09:45:14 +11:00
md_5
0a6a5cb4ad SPIGOT-1036: Add API to manipulate sendTitle timings. 2016-12-16 09:48:14 +11:00
md_5
03c4bf2244 SPIGOT-2908: Correctly spawn LlamaSpit 2016-12-10 12:10:28 +11:00
md_5
caf86c88a9 Use CraftEventFactory for BlockFormEvent 2016-12-09 12:45:21 +11:00
md_5
521b64741e Add API to get default value of an Attribute 2016-12-09 12:31:25 +11:00