Commit Graph

452 Commits

Author SHA1 Message Date
md_5
8e5e90d5eb 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.
2016-10-19 20:43:47 +11:00
Pokechu22
e20928f7da 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.
2016-10-16 19:42:23 +11:00
md_5
b5fb9a1cd7 SPIGOT-2686: Vehicles cannot collide with air 2016-10-12 19:47:14 +11:00
md_5
744e1a177a Fix looting enchant using wrong variable 2016-10-10 17:02:49 +11:00
md_5
70aace0312 SPIGOT-2694: Update other half of door on BlockBreakEvent 2016-10-10 16:58:14 +11:00
md_5
270a3a66ce SPIGOT-2717: /execute over RCON 2016-10-09 14:00:04 +11:00
Ryan Michela
1cce906e11 MC-54738: Fix ocean biome spikes due to minHeight sign inversion. 2016-10-08 19:22:59 +11:00
md_5
c1b529eddc SPIGOT-2683: Missing BlockDispenseEvents 2016-09-19 18:20:15 +10:00
md_5
bae15259ed Remove unneeded change 2016-09-11 14:14:13 +10:00
md_5
8788b79a48 SPIGOT-2639: Better state validation 2016-09-05 17:33:28 +10:00
md_5
fafcfd7529 SPIGOT-2653: Better align combustion with vanilla behaviour 2016-09-03 16:39:21 +10:00
md_5
43ab2669d7 SPIGOT-2634: Concurrency issue in FileIOThread 2016-08-27 15:51:54 +10:00
DemonWav
c74e2a7301 SPIGOT-215: Implement infrastructure for Location tab completes 2016-08-25 09:48:52 +10:00
md_5
4db0855e3e SPIGOT-2622: Ensure all players are safely disconnected on shutdown 2016-08-23 14:02:48 +10:00
Pokechu22
4507d99aea 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.
2016-08-20 09:48:07 +10:00
md_5
5e5cf84f2c SPIGOT-2581: EntityAirChangeEvent 2016-08-08 18:24:21 +10:00
md_5
2a5461deb1 Enhance Beacon Block API 2016-07-23 10:55:43 +10:00
redwallhp
7655e38a47 Implement basic Beacon Block API 2016-07-23 10:49:05 +10:00
md_5
f5d891f609 SPIGOT-2537: Relax skull check even for nominally invalid skulls. 2016-07-22 20:34:17 +10:00
md_5
7f9fbe54ba Simplify a few diffs 2016-07-15 20:10:43 +10:00
md_5
301db84d3d SPIGOT-2520: Better skull validation 2016-07-13 11:47:57 +10:00
md_5
ca1bb1c445 SPIGOT-2495: Better validation of Skulls. 2016-07-12 20:18:08 +10:00
md_5
0df416d679 SPIGOT-113: Add save status to ChunkUnloadEvent 2016-07-11 21:10:56 +10:00
md_5
a625e4567d SPIGOT-2427: Fix missed diff in armor damage handling 2016-07-10 12:02:18 +10:00
md_5
54902261c1 SPIGOT-1994: Revert collisions to Vanilla behaviour 2016-07-10 11:44:02 +10:00
md_5
e3b4dd3d9a Call EntityChangeBlockEvent for Fire Arrows hitting TNT 2016-07-08 11:20:15 +10:00
md_5
d7c257e120 SPIGOT-2490: Villager farming event 2016-07-08 11:12:40 +10:00
md_5
a327d9f1da SPIGOT-2504: Save structure info for secondary worlds 2016-07-08 10:55:51 +10:00
md_5
2239ff0f97 SPIGOT-2501: Remove period from default quit message 2016-07-07 10:43:49 +10:00
md_5
56813c7fff SPIGOT-1468: ENDER_PEARL SpawnReason 2016-07-01 12:30:28 +10:00
md_5
3804ba654e SPIGOT-1373: Implement EntityTargetEvent for TEMPT.
This can be a high frequency event call. Use with care.
2016-07-01 11:41:27 +10:00
md_5
45038571f9 SPIGOT-1341: Cancelled cake interact decreases client hunger 2016-07-01 11:20:31 +10:00
md_5
8db0dbfc44 SPIGOT-1405: Call EntityChangeBlockEvent for Rabbits eating Carrots 2016-06-30 16:15:38 +10:00
md_5
121dfc098a SPIGOT-1288: Sounds played for cancelled BlockPlaceEvent 2016-06-30 15:39:58 +10:00
md_5
6b843d995f SPIGOT-1284: Run scheduler consistently within a tick 2016-06-30 15:20:04 +10:00
md_5
1faaa340e5 SPIGOT-1283: Copy data directory on world import in case it's required 2016-06-30 15:13:32 +10:00
md_5
6470560480 SPIGOT-1264: Spurious BlockFadeEvent 2016-06-30 14:47:05 +10:00
md_5
37d08c52ca SPIGOT-1224: InventoryClickEvent issues for containers opened during event 2016-06-30 14:27:49 +10:00
md_5
939423a8f1 SPIGOT-1181: Ensure Minecart command updates visually 2016-06-30 13:33:26 +10:00
md_5
5f61739cb8 SPIGOT-1132: Duplicate Minecart interact event 2016-06-30 13:26:22 +10:00
md_5
287ef78890 SPIGOT-2461: Call player tick specifically 2016-06-28 11:44:48 +10:00
md_5
df75eebc2b MC-80966 / SPIGOT-957: Send additional lighting data 2016-06-25 20:44:12 +10:00
md_5
ecf4b4238a SPIGOT-924: Compute attributes one last time after quitting 2016-06-25 20:38:13 +10:00
md_5
75f99ec7c5 Update to Minecraft 1.10.2 2016-06-25 11:54:17 +10:00
Aikar
1953f52da1 SPIGOT-2439: Consistently fire Chunk(Load|Unload)Event
Clean up implementation and firing of both of these events by routing
both unload and load behaviors to consistent method calls.

This fixes issues where a few places would not call Load or Unload events
when it should have.

Additionally, reduces diff by moving the neighbor marking code into these
consistent points.

Additional benefits of the change include improving the neighbor marking
methods to use getChunkIfLoaded instead of getLoadedChunkAt in some places,
as the latter will cause chunks to be marked active and not unload.

Finally, this also updates CraftWorld.loadChunk to use the new methods, as the
previous logic did not properly handle the new unload queue.
2016-06-23 10:34:08 +10:00
Ryan Michela
9af379fc47 SPIGOT-1319: Add EntityBreedEvent 2016-06-19 20:14:09 +10:00
Jadon Fowler
63839165bc
Fix infinite loop when saving chunks
Running `/save-all flush` would start an infinite loop that prints:
    ThreadedAnvilChunkStorage (world): All chunks are saved
2016-06-18 04:31:44 -07:00
md_5
02f4218da5 SPIGOT-2414: Repeated disconnects 2016-06-15 13:45:11 +10:00
md_5
71cd505d45 SPIGOT-2405: Better event for combust due to fire 2016-06-15 13:31:35 +10:00
md_5
7f1a32252b SPIGOT-2385: RegionFileCache synchronization issues 2016-06-12 19:28:27 +10:00