Commit graph

2091 commits

Author SHA1 Message Date
CraftBukkit/Spigot
69cae6228b SPIGOT-1903: Only issue player location update after tick
Previously after a player tick, the player's location would be reset back to the location which they had prior to the tick, only to be (hopefully) corrected at a later point, after the client had attempted (and failed) to acknowledge the location change.

By: md_5 <git@md-5.net>
2016-10-19 20:43:47 +11:00
CraftBukkit/Spigot
49316bb556 SPIGOT-2726: Fix duplicate UUID check not always running
World.addEntity(Entity entity) calls addEntity(entity, SpawnReason.DEFAULT), which contains the code that was originally in addEntity (and some event code).

However, WorldServer previously only had addEntity(Entity entity), so if addEntity(Entity entity, SpawnReason spawnreason) was called directly, the UUID check that's found in it (the call to 'i') is skipped.  This happens, among other places, in ChunkRegionLoader.spawnEntity (which /summon uses).

I fixed this by making WorldServer override the SpawnReason version, rather than the regular version.  This is safe to do because the World version calls the SpawnReason version - it's not necessary to do the same thing in WorldServer.

By: Pokechu22 <Pokechu022@gmail.com>
2016-10-15 23:20:12 -07:00
CraftBukkit/Spigot
fc00e0cbca SPIGOT-2686: Vehicles cannot collide with air
By: md_5 <git@md-5.net>
2016-10-12 19:47:14 +11:00
CraftBukkit/Spigot
001b26f1ae Fix looting enchant using wrong variable
By: md_5 <git@md-5.net>
2016-10-10 17:02:49 +11:00
CraftBukkit/Spigot
1160f867a4 SPIGOT-2694: Update other half of door on BlockBreakEvent
By: md_5 <git@md-5.net>
2016-10-10 16:58:14 +11:00
CraftBukkit/Spigot
01ba47a5c0 SPIGOT-2717: /execute over RCON
By: md_5 <git@md-5.net>
2016-10-09 14:00:04 +11:00
CraftBukkit/Spigot
a4f5074da8 MC-54738: Fix ocean biome spikes due to minHeight sign inversion.
By: Ryan Michela <deltahat@gmail.com>
2016-10-06 22:31:53 -07:00
CraftBukkit/Spigot
11234326be SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour
By: md_5 <git@md-5.net>
2016-10-05 19:33:33 +11:00
CraftBukkit/Spigot
502373d73c SPIGOT-2705: Portal cooldown getter / setter.
By: md_5 <git@md-5.net>
2016-10-01 12:26:20 +10:00
CraftBukkit/Spigot
dc3ec1e507 SPIGOT-2683: Missing BlockDispenseEvents
By: md_5 <git@md-5.net>
2016-09-19 18:20:15 +10:00
CraftBukkit/Spigot
40acfc98f2 SPIGOT-2679: Add meta for StructureBlock
By: md_5 <git@md-5.net>
2016-09-18 09:58:54 +10:00
CraftBukkit/Spigot
2a63c00f21 Run sync tasks scheduled for the same tick FIFO
By: AgentLV <contact@agentlv.net>
2016-09-10 23:09:29 +02:00
CraftBukkit/Spigot
0faf0e750e Remove unneeded change
By: md_5 <git@md-5.net>
2016-09-11 14:14:13 +10:00
CraftBukkit/Spigot
ceee1b96e1 SPIGOT-2639: Better state validation
By: md_5 <git@md-5.net>
2016-09-05 17:33:28 +10:00
CraftBukkit/Spigot
e6363be8b3 SPIGOT-2656: HumanEntity#isHandRaised()Z
By: md_5 <git@md-5.net>
2016-09-04 11:59:41 +10:00
CraftBukkit/Spigot
d9aefeb601 SPIGOT-2653: Better align combustion with vanilla behaviour
By: md_5 <git@md-5.net>
2016-09-03 16:39:21 +10:00
CraftBukkit/Spigot
6711effca1 SPIGOT-2644: Clearer error for invalid hanging spawns
By: md_5 <git@md-5.net>
2016-08-31 17:25:37 +10:00
CraftBukkit/Spigot
859ccb933b SPIGOT-2634: Concurrency issue in FileIOThread
By: md_5 <git@md-5.net>
2016-08-27 15:51:54 +10:00
CraftBukkit/Spigot
89ad42c3ab SPIGOT-2630: Console tab complete
By: md_5 <git@md-5.net>
2016-08-26 08:06:06 +10:00
CraftBukkit/Spigot
29623943f1 SPIGOT-2618: Register permissions before plugin enabled.
Brings behaviour in line with command registration, and won't affect plugins which don't already error.

By: md_5 <git@md-5.net>
2016-08-25 13:11:42 +10:00
CraftBukkit/Spigot
e82ad8c82f SPIGOT-215: Implement infrastructure for Location tab completes
By: DemonWav <demonwav@gmail.com>
2016-08-25 09:48:52 +10: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
cf6a18e39f SPIGOT-2616: Fix dispensers dispensing TNT making squid sounds
This was caused by the wrong obfuscated sound effect being used, probably due to a merge issue.

By: Pokechu22 <Pokechu022@gmail.com>
2016-08-20 09:48:07 +10:00
CraftBukkit/Spigot
22d343c1f4 SPIGOT-2581: EntityAirChangeEvent
By: md_5 <git@md-5.net>
2016-08-08 18:24:21 +10:00
CraftBukkit/Spigot
44ea5ef72b SPIGOT-2578: Method to get PotionEffect of specific type.
By: md_5 <git@md-5.net>
2016-08-07 10:53:39 +10:00
CraftBukkit/Spigot
42a06f7c4b SPIGOT-2574: BlockPopulators added twice.
By: md_5 <git@md-5.net>
2016-08-06 10:04:06 +10:00
CraftBukkit/Spigot
1e446f7eac SPIGOT-2559: Kill all entities when called with setHealth(0)
By: md_5 <git@md-5.net>
2016-07-30 10:06:07 +10:00
CraftBukkit/Spigot
bd38417962 Deprecate and stop using Java15Compat class.
By: md_5 <git@md-5.net>
2016-07-29 17:28:51 +10:00
CraftBukkit/Spigot
f54537460b SPIGOT-2552: Aliases for Vanilla commands
By: md_5 <git@md-5.net>
2016-07-26 09:05:08 +10:00
CraftBukkit/Spigot
fa09d39f84 Hook into World for light getters due to additional validation.
By: md_5 <git@md-5.net>
2016-07-25 19:04:06 +10:00
CraftBukkit/Spigot
0237142cbd SPIGOT-2548: Don't special case spawn locations of falling blocks
By: md_5 <git@md-5.net>
2016-07-23 16:23:31 +10:00
CraftBukkit/Spigot
4e6c8a8362 Enhance Beacon Block API
By: md_5 <git@md-5.net>
2016-07-23 10:55:43 +10:00
CraftBukkit/Spigot
467c8686b0 Implement basic Beacon Block API
By: redwallhp <mcredwallhp@gmail.com>
2016-07-18 03:40:07 -04:00
CraftBukkit/Spigot
9baef28a81 SPIGOT-2537: Relax skull check even for nominally invalid skulls.
By: md_5 <git@md-5.net>
2016-07-22 20:34:17 +10:00
CraftBukkit/Spigot
234b54be67 Fall back to name if skull has no uuid when getting player.
By: md_5 <git@md-5.net>
2016-07-22 12:02:16 +10:00
CraftBukkit/Spigot
3aa2d8025a Simplify a few diffs
By: md_5 <git@md-5.net>
2016-07-15 20:08:04 +10:00
CraftBukkit/Spigot
1e7be02c6b SPIGOT-2520: Better skull validation
By: md_5 <git@md-5.net>
2016-07-13 11:47:57 +10:00
CraftBukkit/Spigot
a9eb9b3f1a SPIGOT-2495: Better validation of Skulls.
By: md_5 <git@md-5.net>
2016-07-12 20:18:08 +10:00
CraftBukkit/Spigot
b38424139e SPIGOT-113: Add save status to ChunkUnloadEvent
By: md_5 <git@md-5.net>
2016-07-11 21:10:56 +10:00
CraftBukkit/Spigot
a63680b107 SPIGOT-2427: Fix missed diff in armor damage handling
By: md_5 <git@md-5.net>
2016-07-10 12:02:18 +10:00
CraftBukkit/Spigot
4d977ad06a SPIGOT-1994: Revert collisions to Vanilla behaviour
By: md_5 <git@md-5.net>
2016-07-10 11:44:02 +10:00
CraftBukkit/Spigot
09f5487458 SPIGOT-2503: Optimize block set
By: md_5 <git@md-5.net>
2016-07-08 14:05:22 +10:00
CraftBukkit/Spigot
b46eb8a572 SPIGOT-2481: Implement EnchantmentTarget.BREAKABLE
By: md_5 <git@md-5.net>
2016-07-08 12:51:32 +10:00
CraftBukkit/Spigot
713c31929a Call EntityChangeBlockEvent for Fire Arrows hitting TNT
By: md_5 <git@md-5.net>
2016-07-08 11:20:15 +10:00
CraftBukkit/Spigot
9797cf7e43 SPIGOT-2490: Villager farming event
By: md_5 <git@md-5.net>
2016-07-08 11:12:40 +10:00
CraftBukkit/Spigot
6558543222 SPIGOT-2504: Save structure info for secondary worlds
By: md_5 <git@md-5.net>
2016-07-08 10:55:51 +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
52f38c04ff SPIGOT-1515: Use CUSTOM reason for GENERIC damage
By: md_5 <git@md-5.net>
2016-07-02 14:01:31 +10:00
CraftBukkit/Spigot
f2ad797555 SPIGOT-2474: Use .die() to set entity remove status
By: md_5 <git@md-5.net>
2016-07-02 11:24:14 +10:00
CraftBukkit/Spigot
7b2050e56f SPIGOT-1468: ENDER_PEARL SpawnReason
By: md_5 <git@md-5.net>
2016-07-01 12:30:28 +10:00