Commit graph

1009 commits

Author SHA1 Message Date
md_5
15e02b4056 SPIGOT-4890: EntityDeathEvent fires twice when breaking an armor stand in survival mode 2019-05-08 20:17:45 +10:00
nathat890
b38a3c338c Add BlockShearEntityEvent for Dispensers shearing Sheep 2019-05-08 19:57:44 +10:00
md_5
d20328368c SPIGOT-4882: EntityExplodeEvent appears to fire every tick because of enderdragon 2019-05-07 09:45:13 +10:00
md_5
524facd24e SPIGOT-4881: Worldborder for the End and Nether switch to default after restart 2019-05-07 09:36:36 +10:00
md_5
40484a5fa0 SPIGOT-4875: PlayerChangedWorldEvent does not fire on teleporting via portals 2019-05-06 08:38:29 +10:00
md_5
5f89a0e3c1 SPIGOT-4877: No end platform generated 2019-05-06 08:36:11 +10:00
md_5
8deeeec0ac SPIGOT-4870: Server crashes while charging crossbow 2019-05-05 16:18:29 +10:00
md_5
78616513e8 Rearchitect PortalCreateEvent to provide more information about the portal 2019-05-05 10:51:43 +10:00
Aquazus
e8c929356e SPIGOT-248: PortalCreateEvent not fired when exit portal is created automatically. 2019-05-05 10:33:57 +10:00
md_5
3be0bc1c51 SPIGOT-4840: CartographyInventory not returned for InventoryClickEvent.getClickedInventory on result slot 2019-05-05 09:46:41 +10:00
md_5
8ad64c4f99 SPIGOT-4867: Incorrect dimension ID for nether portal teleports 2019-05-05 09:30:44 +10:00
md_5
4e60dbe7e4 SPIGOT-4868: Server deadlock on /stop command 2019-05-05 09:25:51 +10:00
md_5
68e72f630e SPIGOT-4863: --eraseCache doesn't work 2019-05-04 20:54:32 +10:00
md_5
df82e4f08a SPIGOT-4860: Cancelling InventoryOpenEvent on MerchantInventory prevents re-opening 2019-05-04 20:32:13 +10:00
md_5
84c2f4d1ab SPIGOT-4842: Dummy recipes should not give AIR as result type 2019-05-03 17:41:23 +10:00
md_5
8ddb94da62 SPIGOT-4831: setKeepSpawnInMemory to false does not work 2019-05-02 15:15:53 +10:00
Justin Lawen
fac0eca52b SPIGOT-4838: BlockDispenseEvent not called when shears dispensed from dispenser 2019-05-02 15:05:43 +10:00
md_5
4f420d8274 Revert "SPIGOT-4825: Clearly error on asynchronous tile access"
This reverts commit 5a37f43059.
2019-05-01 08:51:01 +10:00
md_5
5a37f43059 SPIGOT-4825: Clearly error on asynchronous tile access 2019-05-01 06:59:38 +10:00
md_5
bbd66d2046 SPIGOT-4823: Crash picking up arrows 2019-05-01 06:48:56 +10:00
md_5
ea5d868cf9 SPIGOT-4810: Call EntityChangeBlockEvent for Ravager destroying leaves 2019-04-29 18:11:13 +10:00
md_5
5193f762a7 SPIGOT-4803: Fox related APIs 2019-04-28 17:59:12 +10:00
Coleman Yantis
ba2e5e7c74 Add TradeSelectEvent 2019-04-28 12:35:37 +10:00
md_5
3331dade5e SPIGOT-4790: Secondary world data not saved 2019-04-28 11:13:44 +10:00
md_5
f4f32958a8 SPIGOT-4795: EntityPoseChangeEvent called every tick 2019-04-28 10:03:52 +10:00
md_5
5736cdc559 Intermittent hang on /stop 2019-04-27 21:33:07 +10:00
md_5
a875ee4160 Fix loading secondary worlds 2019-04-27 20:09:40 +10:00
md_5
5e0b63c1a0 SPIGOT-4785: Experience etc lost returning from end 2019-04-27 15:43:04 +10:00
md_5
c9fa596b9d Add some missing goal targets 2019-04-27 13:57:46 +10:00
md_5
6606cd88d2 SPIGOT-4753: Add Pose API 2019-04-27 10:27:05 +10:00
md_5
86f149ff77 SPIGOT-4783: CreatureSpawnEvent causes crash when getting block type 2019-04-27 10:07:55 +10:00
md_5
3a8616779a Remove redundant cast 2019-04-27 09:26:19 +10:00
blablubbabc
401641ea6d SPIGOT-4774: Entities don't get marked 'invalid' after being removed 2019-04-27 09:25:53 +10:00
md_5
6de3aa179a SPIGOT-4771: PlayerPortalEvent does not have correct cause when entering nether 2019-04-26 21:47:21 +10:00
md_5
112c84e1e3 SPIGOT-4769: PlayerPortalEvent does not have correct cause when entering end 2019-04-26 18:03:32 +10:00
md_5
f4dc98074c SPIGOT-4767: Fire from lava persists after respawn 2019-04-26 17:12:45 +10:00
md_5
f5285abf2b SPIGOT-4768: ChunkUnloadEvent not called 2019-04-26 16:56:49 +10:00
md_5
735f4ea33e SPIGOT-4760: BlockSpreadEvent for Bamboo growth 2019-04-26 14:56:59 +10:00
md_5
4b9b0f4d5b Add variant API to MushroomCow 2019-04-26 14:48:19 +10:00
md_5
abab38526a SPIGOT-4765: WeatherChangeEvent occurs every tick 2019-04-26 14:42:51 +10:00
md_5
8f2a45bf35 Clean diff in PlayerChunkMap 2019-04-26 13:01:07 +10:00
md_5
b9a2a74105 SPIGOT-4757: Server hangs after teleporting 2019-04-26 09:45:57 +10:00
md_5
3e700e04e9 SPIGOT-4755: Client freeze when joining world 2019-04-26 09:37:15 +10:00
md_5
a9ed334643 SPIGOT-4758: --server-port argument does not work 2019-04-26 09:11:47 +10:00
md_5
e879c447b4 SPIGOT-4737: Bukkit.createWorld causes the server to crash if run after startup 2019-04-25 15:33:13 +10:00
Bjarne Koll
42f88f72b5 Replace ItemTag API with new API that also expands to Tiles and Entities 2019-04-25 14:42:39 +10:00
md_5
724ec10f33 SPIGOT-4741: InventoryHolder no longer returns DoubleChest 2019-04-25 13:57:18 +10:00
md_5
ed20842bcf Update to Minecraft 1.14 2019-04-25 12:00:00 +10:00
md_5
2cc992e31a Clean diff slightly in MinecraftServer 2019-04-25 10:14:16 +10:00
md_5
c124606439 SPIGOT-4734: Sign placement fails when looking at grass 2019-04-25 09:55:41 +10:00
md_5
331c43929e SPIGOT-4720: Remove now unnecessary tile fixer 2019-04-24 10:28:36 +10:00
md_5
3ddaf665e2 SPIGOT-4722: Cannot get title of player's inventory 2019-04-24 10:23:12 +10:00
md_5
0ec9b61de9 SPIGOT-4717: Fix adding recipes after clearRecipes is called 2019-04-23 20:53:56 +10:00
md_5
48c4c5ca81 Begin implementation of CheckStyle style checking 2019-04-23 14:00:30 +10:00
md_5
a2d787f6eb Update to Minecraft 1.14-pre5 2019-04-23 12:00:00 +10:00
md_5
3697519ba5 SPIGOT-4708: Fix ExactChoice recipes neglecting material 2019-04-21 10:30:37 +10:00
md_5
9ead700959 SPIGOT-4677: Add minecraft.admin.command_feedback permission 2019-04-20 13:24:20 +10:00
blablubbabc
c3749a2358 Remove the Damage tag from items when it is 0.
CraftBukkit (and Minecraft as well in some cases, such as when getting
an item from the creative inventory menu) will omit the Damage tag when
it is zero. However, minecraft will add the tag in some situations
nevertheless, such as when loading the ItemStack, or when explictly
setting the item undamaged.

These items (with and without the Damage tag for undamaged items) will
be considered as different by minecraft and CraftBukkit in various
situations, even though they should not. In CraftBukkit these items will
actually only be considered unsimilar if the items' metadata is not
'empty' (if it contains other additional metadata, such as enchantments,
etc.).

If the item's tag is empty after removing the Damage tag, it gets
completely removed. The setRepairCost function was adapted to behave in
the same way (removal of the tag if it becomes empty).
2019-04-20 13:00:41 +10:00
md_5
f74c7b9578 SPIGOT-4706: Can't interact with active item 2019-04-20 13:00:10 +10:00
md_5
51d62deced SPIGOT-4702: Exception when middle clicking certain slots 2019-04-16 20:49:28 +10:00
md_5
be557e69fa SPIGOT-4700: Add PlayerFishEvent.State.REEL_IN 2019-04-15 20:42:51 +10:00
md_5
812f66aa99 SPIGOT-4684: Update persistence of converting zombie villagers 2019-04-08 20:29:18 +10:00
md_5
51100db821 SPIGOT-4678: Fix placing signs in certain circumstances 2019-03-24 21:34:57 +11:00
md_5
d3ed151625 Fix dangerously threaded beacons 2019-03-17 13:09:37 +11:00
md_5
a49270b28b Mappings Update 2019-03-17 11:48:53 +11:00
md_5
5259d80c48 SPIGOT-4669: Fix PlayerTeleportEvent coordinates for relative teleports 2019-03-16 15:10:34 +11:00
blablubbabc
8d8475fc46 SPIGOT-4666: Force parameter in HumanEntity#sleep
Also moved the application of the force parameter inside EntityHuman, to
no longer allow bypassing of very essential checks.
2019-03-13 18:31:59 +11:00
Phoenix616
8b1588e2f1 Fix ExplosionPrimeEvent#setFire not working with EnderCrystals 2019-03-10 11:06:55 +11:00
md_5
77ca7ca07b Rebuild patches 2019-03-06 16:38:02 +11:00
Phoenix616
73597ed865 Improve damage handling of dead entities 2019-03-06 13:22:33 +11:00
md_5
f102d88299 SPIGOT-4647: Properly cancel VehicleDamageEvent 2019-03-05 16:42:23 +11:00
Phoenix616
ec17d07def Use getBukkitEntity for ExplosionPrimeEvent instead of creating new one 2019-03-04 16:50:50 +01:00
Parker Hawke
0f708cbf51 Add love mode API to Animals 2019-02-28 16:29:24 +11:00
md_5
40cbae42b1 SPIGOT-4638: Give last registered recipe priority 2019-02-26 11:17:42 +11:00
bloodshot
822ff72934 SPIGOT-4637: Add source block to BlockPhysicsEvent.
Allows a plugin to lookup the source block of event. For example, a protection plugin may want to determine what caused the physics event to be triggered.
2019-02-25 19:29:43 +11:00
md_5
acbba8badd SPIGOT-4635: Restore shield damage sound 2019-02-25 18:52:09 +11:00
md_5
51c118b1d7 SPIGOT-4619: Incorrect packet order for villager inventories 2019-02-13 17:02:33 +11:00
Brokkonaut
d158f2e993 Fix EntityPickupItemEvent getRemaining / PlayerInventory#canHold
Without this change the calculation of fitting items was incorrect, so event.getRemaining() did return 0 when it should not be 0.
2019-02-13 16:59:39 +11:00
md_5
a2dd0e3035 SPIGOT-4615: Missing target event for withers 2019-02-10 10:32:24 +11:00
bermudalocket
2b1940ae24 Make AreaEffectCloudApplyEvent cancellable 2019-02-07 00:40:41 -05:00
md_5
2ced02339a Don't handle sync packets for kicked players 2019-02-03 14:23:04 +11:00
md_5
d5e96882ad SPIGOT-4602: Cache reflection in decompile error workaround 2019-02-02 09:57:26 +11:00
md_5
ad6070dffd SPIGOT-4193: API for selecting entities by strings 2019-01-31 15:08:25 +11:00
md_5
ed274c517f SPIGOT-4597: Make BlockDropItemEvent use a list 2019-01-30 11:20:39 +11:00
md_5
2aba349f1a Need to update item in hand if fish bucket pickup cancelled 2019-01-27 15:32:30 +11:00
md_5
b634e059e0 SPIGOT-4591: Must mark itemstacks as dirty in case the handle itself changed 2019-01-25 20:54:56 +11:00
md_5
7fc66b28db Fix minecraft.command.selector permission 2019-01-18 16:02:08 +11:00
Brokkonaut
47b06d5b4e SPIGOT-4584: Call events for hatching turtle eggs 2019-01-18 02:50:04 +01:00
md_5
0c715b32b0 SPIGOT-4579: Shulker boxes not dropping in creative 2019-01-14 15:53:54 +11:00
md_5
98b862ad88 Fix duplicate iron golem add 2019-01-11 12:37:43 +11:00
md_5
843cee65f3 Fix a bunch of duplicate EntityCombustEvent calls 2019-01-11 11:41:32 +11:00
md_5
438556243d SPIGOT-4571: EntityCombustEvent not firing for phantoms 2019-01-09 20:39:25 +11:00
md_5
9dc56581e6 SPIGOT-4570: Add FluidLevelChangeEvent 2019-01-08 21:23:11 +11:00
md_5
f17d591cc9 Fix BlockDropItemEvent for Skulls and Shulker Boxes 2019-01-07 13:57:35 +11:00
md_5
5932f8a7da Load default world spawn areas in consistent order 2019-01-05 17:05:51 +11:00
md_5
3a5dc78f47 Fix confusing migration message appearing on fresh server 2019-01-05 17:03:12 +11:00
md_5
516a408f4a Remove redundant CraftBukkit change for secondary world data
The above loop would always save this data
2019-01-05 16:41:02 +11:00
riking
73a2c749be Process conversation input on the main thread.
Fixes BUKKIT-5611.
2019-01-05 16:21:07 +11:00
drXor
f2746a5eb2 Descriptive kick reasons instead of Nope! 2019-01-05 16:21:07 +11:00
md_5
d0a9130d24 SPIGOT-4563: Fix regenerating chunks saved to disk already 2019-01-03 15:44:06 +11:00