Commit Graph

3431 Commits

Author SHA1 Message Date
Lukas Hennig
0b154b1852 SPIGOT-2272: Add API for virtual Merchants 2016-11-21 15:29:36 +11:00
BlackHole
7fc4255d1a SPIGOT-2810: Fix entity statistics 2016-11-20 20:10:39 +01:00
md_5
ac99d7d474 SPIGOT-2807: Update inventory when attack cancelled 2016-11-20 14:13:21 +11:00
md_5
95436219a5 SPIGOT-2806: Fix PlayerDropItemEvent for disconnected players 2016-11-20 10:19:22 +11:00
LukBukkit
221508dce3 Fix cancelling PlayerEditBookEvent 2016-11-20 09:33:22 +11:00
md_5
eed13ca548 SPIGOT-2800: Can only smelt 63 stack 2016-11-19 21:14:46 +11:00
md_5
0f7c385941 SPIGOT-2801: Missing break in CraftMetaBlockState 2016-11-19 21:11:54 +11:00
md_5
092243c35d SPIGOT-2799: ItemFrame set null error 2016-11-19 20:28:04 +11:00
momothereal
89e6712cde Add additional APIs for Evoker / EvokerFangs 2016-11-19 18:53:57 +11:00
Senmori
bd2d7935c4 Implement isCursed for new enchantments 2016-11-19 16:07:51 +11:00
md_5
fa1a44ab5d Change style of PAIL comments in README.md 2016-11-19 16:05:22 +11:00
md_5
1d01e41570 SPIGOT-2798: Fix ShulkerBox BlockStateMeta 2016-11-19 15:59:04 +11:00
md_5
ead445ec99 Attempt to sync damage up again - golden apples this time 2016-11-19 14:53:19 +11:00
md_5
7564d60241 Add stopSound for specific sound category & unit test for SoundCategory 2016-11-19 14:27:18 +11:00
LukBukkit
63c13c5e62 Implement SoundCategory for playing sounds. 2016-11-19 14:20:13 +11:00
md_5
32048c4690 SPIGOT-2795: InventoryClickEvent issues 2016-11-19 13:51:10 +11:00
Senmori
26377b763b Get Colors from ShulkerBox; Implement CustomName for Tiles. 2016-11-19 13:40:06 +11:00
md_5
f15e07b1a9 SPIGOT-2793: Revert Nameable changes 2016-11-19 03:10:04 +11:00
md_5
88eede85cc SPIGOT-2792: Return PIG for broken spawners 2016-11-18 15:32:27 +11:00
md_5
8095a750e7 SPIGOT-2790: Remove negative item ID filtering again 2016-11-18 15:25:43 +11:00
md_5
0805f60443 SPIGOT-2789: ShulkerBox missing override 2016-11-18 12:00:17 +11:00
Senmori
5e51afde49 Get Colors from ShulkerBox; Implement CustomName for Tiles. 2016-11-18 11:28:49 +11:00
md_5
93b8244115 SPIGOT-2787: Keep performing getter null conversion at call sites 2016-11-18 11:07:02 +11:00
md_5
0c3bb76487 SPIGOT-2777: Mobs not being angered by snowballs 2016-11-18 10:57:53 +11:00
md_5
4bf2fc8782 SPIGOT-2786: Restore some fireworks code lost in update 2016-11-18 10:11:19 +11:00
md_5
486ba9f481 Update to SQLite 3.15.x 2016-11-18 09:57:14 +11:00
md_5
4f63973ebb SPIGOT-2782: Custom Colors for Potions 2016-11-18 09:49:54 +11:00
md_5
d8c6364c4c Remove more redundant code 2016-11-18 09:28:11 +11:00
md_5
17e6e857b5 SPIGOT-2779: NPE when spawning firework with plugin 2016-11-18 09:22:40 +11:00
md_5
a0269d8e72 SPIGOT-2784: Fix Withers not being built 2016-11-18 09:20:14 +11:00
md_5
b2f82f0f7f Remove now redundant code 2016-11-18 09:14:51 +11:00
md_5
64032adfd2 Remove unit test based on now incorrect assumptions 2016-11-18 09:11:17 +11:00
md_5
162e961326 SPIGOT-2772, SPIGOT-2780: Improve empty ItemStack handling 2016-11-18 09:04:07 +11:00
md_5
129efc132a SPIGOT-2771: Safely execute command block commands 2016-11-18 08:54:22 +11:00
md_5
0dedba43d1 SPIGOT-2773: More fully implement ShulkerBox meta 2016-11-18 08:50:38 +11:00
md_5
2dd38f2dc4 SPIGOT-2785: Wrong effect ID for wither sounds 2016-11-18 08:41:21 +11:00
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