Commit Graph

3595 Commits

Author SHA1 Message Date
md_5
a951a88398 SPIGOT-2770: Can Place Structure Blocks Even When Not Op 2016-11-17 21:01:15 +11:00
md_5
54450b727e SPIGOT-2768: Fully implement map color 2016-11-17 17:32:50 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
Senmori
51263e9718 Implement Entity Scoreboard Tags 2016-11-06 12:18:27 +11:00
md_5
cb2749768e SPIGOT-2757: Player#stopSound Stops All Sounds 2016-11-06 10:36:38 +11:00
md_5
33071ecfff SPIGOT-2752: Fix resetMaxHealth 2016-11-04 18:11:36 +11:00
Senmori
709783c131 Add Enchantment#isTreasure()Z
Determines if the enchantment is a treasure enchantment - only available via means other than the enchantment table.
2016-10-30 12:18:27 +11:00
hibo98
251a5b6382 Explicitly log exception from asynchronous tasks.
Previously an UnhandledException would be thrown and the stack trace / message would be printed to System.err in the default UncaughtExceptionHandler for ThreadGroup. This was undesirable as it meant that logging frameworks / exception monitors such as Sentry were unable to get the exception. Additionally it would cause the death of the thread in the ExecutorService. This change mimics the behaviour of exceptions occuring during synchronous tasks.
2016-10-24 18:49:06 +11:00
md_5
2e39de698d SPIGOT-1903, MC-98153: Portal Location Sync Issues 2016-10-23 14:00:35 +11:00
md_5
d86d282f63 SPIGOT-2738: Revert SPIGOT-1903 fix
Reverted from commit 8e5e90d5eb
2016-10-23 12:45:43 +11:00
md_5
fd8d8cf404 SPIGOT-2737: Implement Statistic.PICKUP 2016-10-22 13:07:22 +11:00
Senmori
b6490dada5 SPIGOT-2706: Implement support for Lock NBT Tag
Containers may now implement the Lockable interface.
2016-10-21 16:35:55 +11:00
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
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