Commit graph

4725 commits

Author SHA1 Message Date
md_5
639aa0cf48 SPIGOT-3320: Apply tile entity fixer to more types 2017-06-11 08:32:29 +10:00
md_5
ed8c725d19 SPIGOT-3304: Respect duration from Vanilla /weather 2017-06-09 16:17:08 +10:00
md_5
2c34c38d7a SPIGOT-3303: Warn when attempting to grant non existent recipe 2017-06-09 16:13:35 +10:00
md_5
1b3122eef1 SPIGOT-3302: Armor stands not dropping armor 2017-06-09 15:51:56 +10:00
md_5
bb4ae3b3b8 Update to Minecraft 1.12 2017-06-08 18:00:00 +10:00
chickeneer
fe3ca95c76 Prevent NPE when setting tempt target to null 2017-06-04 08:43:00 +10:00
md_5
10daedccdd Add proper TeleportCause for /teleport 2017-06-04 08:39:36 +10:00
md_5
9a032b246b SPIGOT-3290: /teleport command overrides player rotation 2017-06-04 08:34:52 +10:00
md_5
701b06494d SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete 2017-06-03 17:39:03 +10:00
md_5
921ba53556 SPIGOT-3283: Don't allow plugin induced infinite velocity / position 2017-06-02 18:44:37 +10:00
md_5
9496c2dad1 SPIGOT-3284: Allow TNTPrimed#getSource to return invalid entities
Eg dead players.
2017-06-02 18:28:30 +10:00
md_5
e13d119686 Update to Minecraft 1.12-pre6 2017-05-30 21:55:13 +10:00
BlackHole
c155d8dd32 SPIGOT-3277: Fix Entity.eject() 2017-05-28 22:27:57 +02:00
Scetra
ccc420a957 Add support for preventing block drops in BreakEvent 2017-05-28 17:08:28 +10:00
md_5
c037fe3d44 Add color API for Teams 2017-05-28 11:00:02 +10:00
Pokechu22
44dd60ac27 SPIGOT-3272: Fix duplicate creative inventory
This change properly identifies the creative inventory as one with 5 crafting slots (as that's the default set in ContainerPlayer, and handled properly in other containers), instead of having the same inventory twice (which breaks slot identification).
2017-05-28 10:32:31 +10:00
MiniDigger
274304b8ca SPIGOT-439: Add player locale related APIs. 2017-05-27 19:06:28 +10:00
md_5
a479029a85 Ensure gameLoop function gets selectors applied. 2017-05-26 16:43:56 +10:00
md_5
c7920f4302 SPIGOT-3257: Issue with AdvancementRewards function 2017-05-21 10:28:07 +10:00
md_5
24147056e0 SPIGOT-3258: VehicleBlockCollisionEvent only fires in certain directions 2017-05-21 10:24:47 +10:00
md_5
cda27c992d SPIGOT-3254: Check chunks are loaded before ticking entities as per previous versions. 2017-05-20 11:28:38 +10:00
md_5
4377dac138 SPIGOT-3253: Fix entity yaw changes 2017-05-20 11:16:28 +10:00
md_5
1004352990 Update to Minecraft 1.12-pre5 2017-05-19 21:00:13 +10:00
BlackHole
3ecbb59cbb SPIGOT-3248: Don't set shoulder compounds of EntityHuman to null 2017-05-18 07:34:25 +10:00
md_5
45102fcf28 Misc advancement / recipe reload fixes including SPIGOT-3240 2017-05-16 21:22:07 +10:00
md_5
c410240567 SPIGOT-3240: Temporarily stub out rarely used resetRecipes method to fix some issues. 2017-05-16 06:58:37 +10:00
md_5
240f16d1cc SPIGOT-3244: Downgrade MySQL driver to 5.1.42 - the current GA release 2017-05-15 21:38:06 +10:00
md_5
68b0515b51 SPIGOT-3243: Remove recipe reset on world change / death 2017-05-15 18:11:48 +10:00
md_5
913c5a61f7 SPIGOT-3242: Fix rain not showing client side 2017-05-15 15:01:05 +10:00
md_5
743252dbe5 SPIGOT-3238: Add Server.advancementIterator 2017-05-15 08:25:53 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
md_5
6e3cec8bc7 Change book limit to allow for automatically generated colour codes 2017-05-14 11:19:38 +10:00
md_5
36e3402814 Remove outdated build delay. 2017-05-14 10:35:01 +10:00
md_5
fcc5dcce54 SPIGOT-3235: Disconnect for payload errors 2017-05-14 09:25:25 +10:00
Lukas Hennig
2b6c9f40ae Set health before entity death. 2017-05-04 19:18:46 +10:00
BlackHole
fbb47e8383 SPIGOT-3215: Call BlockPhysicsEvent for tall plants 2017-05-01 19:49:37 +10:00
md_5
fecf4b4137 SPIGOT-3214: Allow book titles up to 32 even though they can't be created by a Vanilla client. 2017-04-30 13:20:43 +10:00
Matthew
d9d7552262 Implement getColor / setColor for Shulker entity 2017-04-30 09:54:34 +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
Geoff Crossland
6194f6cc49 Drop RegionFile.chunkExists() in favour of Mojang's own version 2017-04-27 21:25:33 +10:00
Matthew
55a1f9ff12 Implement getColor / setColor for TippedArrow 2017-04-26 20:28:27 -04:00
md_5
2453830549 Reset player arrow count on death 2017-04-26 15:56:06 +10: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
7b044defc0 Remove players from vehicle when changing world via NMS methods. 2017-04-21 14:56:41 +10:00
md_5
0ab698655b SPIGOT-3192: Return default value for invalid map icons 2017-04-21 08:20:49 +10:00
md_5
1c3428e534 Add small throttle to book edits. 2017-04-20 22:10:31 +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