Commit Graph

4510 Commits

Author SHA1 Message Date
md_5
1fafd8f3f2 Allow direct opening of another player's inventory
Not recommended - bugs may result, especially re: slot updates
2019-04-27 13:14:40 +10:00
md_5
884028b23b SPIGOT-4784: Collar colour API for Cats 2019-04-27 12:52:52 +10:00
md_5
6bb1f087e7 Loosen restrictions on inventory sizing
Allows creating (but not opening) inventories created eg via Bukkit.createInventory(..., InventoryType.PLAYER);
2019-04-27 12:50:43 +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
1949f5835d SPIGOT-4778: Bell Attachment is missing 2019-04-27 09:33:00 +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
e2bbf62bf4 Don't concurrently execute ChunkGenerators by default 2019-04-26 12:08:59 +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
28adbcff5b SPIGOT-4751: Update mappings version 2019-04-26 09:08:32 +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
md_5
aed901654b SPIGOT-4744: Cannot spawn Cat entity 2019-04-25 14:59:08 +10:00
md_5
76a855c8ce SPIGOT-4742: Make Sign Colorable 2019-04-25 14:49:23 +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
58c5c617d8 SPIGOT-4736: Serialized ItemStack Lore Doesn't Deserialize 2019-04-25 10:06:40 +10:00
md_5
c124606439 SPIGOT-4734: Sign placement fails when looking at grass 2019-04-25 09:55:41 +10:00
md_5
de6cdd0364 SPIGOT-4735: ProjectileHitEvent Fires Immediately 2019-04-25 09:23:21 +10:00
md_5
14df075f80 SPIGOT-4728: Fix clicking on custom ender chests 2019-04-24 22:02:45 +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
6d504c2d4c SPIGOT-4725: Virtual Merchant GUI crashes server 2019-04-24 10:10:41 +10:00
md_5
c8d1e94209 SPIGOT-4718: Fix creating odd inventory sizes 2019-04-24 10:01:54 +10:00
md_5
005e1bbc13 SPIGOT-4726: Lore not being applied to new items 2019-04-24 09:54:58 +10:00
md_5
bfec7c79cd Apply outdated build delay 2019-04-24 09:52:43 +10:00
md_5
93ad381a68 SPIGOT-4727: Fix CraftEvil for legacy plugins 2019-04-24 09:40:42 +10:00
md_5
364b6fbb73 Fix weird test import in EnderDragonPhaseTest 2019-04-23 21:28:41 +10:00
md_5
c088132472 Fix checkstyle on Windows 2019-04-23 21:22:20 +10:00
md_5
c4af066cb7 Move execution phase of checkstyle 2019-04-23 21:01:39 +10:00
md_5
0ec9b61de9 SPIGOT-4717: Fix adding recipes after clearRecipes is called 2019-04-23 20:53:56 +10:00
md_5
5fea790398 Apply import ordering rules to CraftBukkit classes 2019-04-23 14:56:58 +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
a46fdbc62c Remove outdated build delay. 2019-04-22 16:44:07 +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