Commit Graph

3382 Commits

Author SHA1 Message Date
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
9558f31ebb SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour 2016-10-05 19:33:33 +11:00
md_5
ae93d4fb49 SPIGOT-2705: Portal cooldown getter / setter. 2016-10-01 12:26:20 +10:00
md_5
c1b529eddc SPIGOT-2683: Missing BlockDispenseEvents 2016-09-19 18:20:15 +10:00
md_5
6af9f5b84a SPIGOT-2679: Add meta for StructureBlock 2016-09-18 09:58:54 +10:00
AgentLV
75a8885d1f Run sync tasks scheduled for the same tick FIFO 2016-09-11 15:03:27 +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
48b88ed202 SPIGOT-2656: HumanEntity#isHandRaised()Z 2016-09-04 11:59:41 +10:00
md_5
fafcfd7529 SPIGOT-2653: Better align combustion with vanilla behaviour 2016-09-03 16:39:21 +10:00
md_5
4d87c3422c SPIGOT-2644: Clearer error for invalid hanging spawns 2016-08-31 17:25:37 +10:00
md_5
43ab2669d7 SPIGOT-2634: Concurrency issue in FileIOThread 2016-08-27 15:51:54 +10:00
md_5
2f5bda8a67 SPIGOT-2630: Console tab complete 2016-08-26 08:06:06 +10:00
md_5
60c1719354 SPIGOT-2618: Register permissions before plugin enabled.
Brings behaviour in line with command registration, and won't affect plugins which don't already error.
2016-08-25 13:11:42 +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
6053c5c8ac SPIGOT-2578: Method to get PotionEffect of specific type. 2016-08-07 10:53:39 +10:00
md_5
29e1d72893 SPIGOT-2574: BlockPopulators added twice. 2016-08-06 10:04:06 +10:00
md_5
83a9dbdef6 SPIGOT-2559: Kill all entities when called with setHealth(0) 2016-07-30 10:06:07 +10:00
md_5
8cc5958404 Deprecate and stop using Java15Compat class. 2016-07-29 17:28:51 +10:00
md_5
21e3b05522 SPIGOT-2552: Aliases for Vanilla commands 2016-07-26 09:05:08 +10:00
md_5
09f1a19609 Hook into World for light getters due to additional validation. 2016-07-25 19:04:06 +10:00
md_5
9ff3d7f51f SPIGOT-2548: Don't special case spawn locations of falling blocks 2016-07-23 16:23:31 +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
7ae605218b Fall back to name if skull has no uuid when getting player. 2016-07-22 12:02:16 +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
02d704b55a SPIGOT-2503: Optimize block set 2016-07-08 14:05:22 +10:00
md_5
9c02c12179 SPIGOT-2481: Implement EnchantmentTarget.BREAKABLE 2016-07-08 12:51:32 +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
67b242440b SPIGOT-1515: Use CUSTOM reason for GENERIC damage 2016-07-02 14:01:31 +10:00
md_5
1628ce6240 SPIGOT-2474: Use .die() to set entity remove status 2016-07-02 11:24:14 +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