13
0
geforkt von Mirrors/Paper
Commit graph

2970 Commits

Autor SHA1 Nachricht Datum
CraftBukkit/Spigot
dee9a212cf SPIGOT-4677: Add minecraft.admin.command_feedback permission
By: md_5 <git@md-5.net>
2019-04-20 13:24:20 +10:00
CraftBukkit/Spigot
3d88c2acc0 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).

By: blablubbabc <lukas@wirsindwir.de>
2019-04-18 11:56:42 +02:00
CraftBukkit/Spigot
9dbf35c38c SPIGOT-4706: Can't interact with active item
By: md_5 <git@md-5.net>
2019-04-20 12:57:02 +10:00
CraftBukkit/Spigot
359720786f Mention requirement of JIRA ticket for bug fixes
By: md_5 <git@md-5.net>
2019-04-18 11:42:53 +10:00
CraftBukkit/Spigot
c7a6f8f4d5 SPIGOT-4702: Exception when middle clicking certain slots
By: md_5 <git@md-5.net>
2019-04-16 20:49:28 +10:00
CraftBukkit/Spigot
c6d3a7e5c4 SPIGOT-4700: Add PlayerFishEvent.State.REEL_IN
By: md_5 <git@md-5.net>
2019-04-15 20:42:51 +10:00
CraftBukkit/Spigot
f890a5eedc SPIGOT-4681: Note about additional world creation on STARTUP
By: md_5 <git@md-5.net>
2019-04-08 20:32:00 +10:00
CraftBukkit/Spigot
6111c0258c SPIGOT-4684: Update persistence of converting zombie villagers
By: md_5 <git@md-5.net>
2019-04-08 20:29:18 +10:00
CraftBukkit/Spigot
aa642d5805 SPIGOT-4691: Fix custom world generator when placing tiles
By: md_5 <git@md-5.net>
2019-04-05 19:59:47 +11:00
CraftBukkit/Spigot
e2b8f51764 Added Entity#setRotation.
Unlike Entity#teleport this can also be used while the entity is inside a vehicle.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-26 03:34:56 +01:00
CraftBukkit/Spigot
dd5715f7af SPIGOT-4686: Enchantment ordering nondeterministic
By: md_5 <git@md-5.net>
2019-04-02 21:13:05 +11:00
CraftBukkit/Spigot
10b207e39b SPIGOT-4673: EntitySpawnEvent should not be called for players
By: md_5 <git@md-5.net>
2019-03-26 20:42:04 +11:00
CraftBukkit/Spigot
23997eddd5 SPIGOT-4678: Fix placing signs in certain circumstances
By: md_5 <git@md-5.net>
2019-03-24 21:34:57 +11:00
CraftBukkit/Spigot
48640d6365 SPIGOT-4674: Allow spawning hanging on top/bottom of block
By: md_5 <git@md-5.net>
2019-03-22 20:33:20 +11:00
CraftBukkit/Spigot
622d30f730 Fix dangerously threaded beacons
By: md_5 <git@md-5.net>
2019-03-17 13:08:25 +11:00
CraftBukkit/Spigot
4081927fd4 Don't relocate joptsimple to allow --help to work.
By: md_5 <git@md-5.net>
2019-03-17 12:54:21 +11:00
CraftBukkit/Spigot
f600caaf6a Prepare for imminent Java 12 release
By: md_5 <git@md-5.net>
2019-03-17 12:53:55 +11:00
CraftBukkit/Spigot
dcc541a4a0 Mappings Update
By: md_5 <git@md-5.net>
2019-03-17 11:48:53 +11:00
CraftBukkit/Spigot
c232318c9f SPIGOT-4669: Fix PlayerTeleportEvent coordinates for relative teleports
By: md_5 <git@md-5.net>
2019-03-16 15:10:34 +11:00
CraftBukkit/Spigot
7a7e9aa31e 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.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-13 04:48:19 +01:00
CraftBukkit/Spigot
6f19c56acd Fix ExplosionPrimeEvent#setFire not working with EnderCrystals
By: Phoenix616 <mail@moep.tv>
2019-03-09 22:29:09 +01:00
CraftBukkit/Spigot
6caa3d0de8 Don't ignore newlines in PlayerListHeader/Footer
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-03-10 11:04:15 +11:00
CraftBukkit/Spigot
d8321eeba1 Rebuild patches
By: md_5 <git@md-5.net>
2019-03-06 16:38:02 +11:00
CraftBukkit/Spigot
0f33d638d0 Improve damage handling of dead entities
By: Phoenix616 <mail@moep.tv>
2019-03-06 01:13:47 +01:00
CraftBukkit/Spigot
6846b3d2d9 SPIGOT-4646: Test + fix InventoryWrapper.getContents
By: md_5 <git@md-5.net>
2019-03-05 16:59:40 +11:00
CraftBukkit/Spigot
a257532ba2 SPIGOT-4650: Charging API for Vex
By: md_5 <git@md-5.net>
2019-03-05 16:47:33 +11:00
CraftBukkit/Spigot
a6bce7bfb4 SPIGOT-4647: Properly cancel VehicleDamageEvent
By: md_5 <git@md-5.net>
2019-03-05 16:42:23 +11:00
CraftBukkit/Spigot
196d19e95c Use getBukkitEntity for ExplosionPrimeEvent instead of creating new one
By: Phoenix616 <mail@moep.tv>
2019-03-04 16:12:52 +01:00
CraftBukkit/Spigot
d0fdcfcf41 Add love mode API to Animals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-02-27 21:56:25 +00:00
CraftBukkit/Spigot
94a194355b SPIGOT-4638: Give last registered recipe priority
By: md_5 <git@md-5.net>
2019-02-26 11:17:42 +11:00
CraftBukkit/Spigot
0d8ed5d869 Fix line endings in CraftDefaultPermissions
By: md_5 <git@md-5.net>
2019-02-25 19:41:44 +11:00
CraftBukkit/Spigot
0deb5e7d0a 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.

By: bloodshot <jdroque@gmail.com>
2019-02-24 22:50:05 -05:00
CraftBukkit/Spigot
5c6e6853e3 SPIGOT-4635: Restore shield damage sound
By: md_5 <git@md-5.net>
2019-02-25 18:52:09 +11:00
CraftBukkit/Spigot
ae98c2723b Fix experience reward flag gets lost during MerchantRecipe conversion
By: blablubbabc <lukas@wirsindwir.de>
2019-02-22 19:15:59 +01:00
CraftBukkit/Spigot
da599af692 SPIGOT-4632: BlockState location is not fixed
By: md_5 <git@md-5.net>
2019-02-21 20:32:44 +11:00
CraftBukkit/Spigot
4d93e94dbd Fix CraftInventoryMerchant#getSelectedRecipe if there is no active merchant recipe.
By: blablubbabc <lukas@wirsindwir.de>
2019-02-21 03:06:11 +01:00
CraftBukkit/Spigot
961fc0efe5 Load custom permissions after default permissions.
By: blablubbabc <lukas@wirsindwir.de>
2019-02-17 17:07:56 +01:00
CraftBukkit/Spigot
9ff569d110 Make tags Keyed
By: Matthew Miller <mnmiller1@me.com>
2019-02-17 13:11:51 +10:00
CraftBukkit/Spigot
08d42377e0 Added a method to get a list of tags
By: Matthew Miller <mnmiller1@me.com>
2019-02-17 12:55:01 +10:00
CraftBukkit/Spigot
13289e0c17 SPIGOT-4619: Incorrect packet order for villager inventories
By: md_5 <git@md-5.net>
2019-02-13 17:02:33 +11:00
CraftBukkit/Spigot
a6ec0de609 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.

By: Brokkonaut <hannos17@gmx.de>
2019-02-12 04:49:24 +01:00
CraftBukkit/Spigot
773e44eee7 SPIGOT-4615: Missing target event for withers
By: md_5 <git@md-5.net>
2019-02-10 10:32:24 +11:00
CraftBukkit/Spigot
9b0979baaa Update outdated spigot link
By: md_5 <git@md-5.net>
2019-02-09 10:42:26 +11:00
CraftBukkit/Spigot
64264bdd79 Make AreaEffectCloudApplyEvent cancellable
By: bermudalocket <bermudalckt@gmail.com>
2019-02-07 00:40:41 -05:00
CraftBukkit/Spigot
d39743e20c Fix incorrect method descriptor in previous commit
By: md_5 <git@md-5.net>
2019-02-06 08:08:45 +11:00
CraftBukkit/Spigot
d4aca3321d SPIGOT-4608: Improve quality of MapMeta APIs
By: md_5 <git@md-5.net>
2019-02-05 21:29:03 +11:00
CraftBukkit/Spigot
cda432d64a Don't handle sync packets for kicked players
By: md_5 <git@md-5.net>
2019-02-03 14:23:04 +11:00
CraftBukkit/Spigot
69ea4f2bcd SPIGOT-4602: Cache reflection in decompile error workaround
By: md_5 <git@md-5.net>
2019-02-02 09:57:26 +11:00
CraftBukkit/Spigot
8b6d75b06e SPIGOT-4193: API for selecting entities by strings
By: md_5 <git@md-5.net>
2019-01-31 15:08:25 +11:00
CraftBukkit/Spigot
b8ededbf19 SPIGOT-4597: Make BlockDropItemEvent use a list
By: md_5 <git@md-5.net>
2019-01-30 11:20:39 +11:00
CraftBukkit/Spigot
a3499fa700 SPIGOT-4598: Shift click on custom workbench inventory causes crash
By: md_5 <git@md-5.net>
2019-01-30 11:10:04 +11:00
CraftBukkit/Spigot
50de299d8e Add note about Maven repository usage to pom.xml
By: md_5 <git@md-5.net>
2019-01-29 10:01:29 +11:00
CraftBukkit/Spigot
e5292ad840 Need to update item in hand if fish bucket pickup cancelled
By: md_5 <git@md-5.net>
2019-01-27 15:32:30 +11:00
CraftBukkit/Spigot
eacdff8282 SPIGOT-4591: Must mark itemstacks as dirty in case the handle itself changed
By: md_5 <git@md-5.net>
2019-01-25 20:54:56 +11:00
CraftBukkit/Spigot
38c8747ab6 Consistent multiple choice APIs for RecipeChoice.
By: md_5 <git@md-5.net>
2019-01-25 13:59:11 +11:00
CraftBukkit/Spigot
72a9faa58a Update compiler
By: md_5 <git@md-5.net>
2019-01-23 12:41:31 +11:00
CraftBukkit/Spigot
92278020ef Add CookTimeTotal API to Furnace
By: md_5 <git@md-5.net>
2019-01-23 10:26:43 +11:00
CraftBukkit/Spigot
09b5837195 SPIGOT-4587: Enforce at least one valid choice for FurnaceRecipe
By: md_5 <git@md-5.net>
2019-01-21 10:39:24 +11:00
CraftBukkit/Spigot
9e07e466a9 Fix minecraft.command.selector permission
By: md_5 <git@md-5.net>
2019-01-18 15:59:21 +11:00
CraftBukkit/Spigot
549fd7da45 SPIGOT-4584: Call events for hatching turtle eggs
By: Brokkonaut <hannos17@gmx.de>
2019-01-17 03:02:34 +01:00
CraftBukkit/Spigot
6f596cf9de SPIGOT-4579: Shulker boxes not dropping in creative
By: md_5 <git@md-5.net>
2019-01-14 15:53:54 +11:00
CraftBukkit/Spigot
4ae33ae930 SPIGOT-4576: Fix attributes in itemstack internal data being lost
By: md_5 <git@md-5.net>
2019-01-14 10:20:24 +11:00
CraftBukkit/Spigot
1f4d52d582 SPIGOT-4577: Fix loss of int/double custom tags when serialized to yaml
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-01-13 16:25:17 +01:00
CraftBukkit/Spigot
ca571f46b4 Clarify exception thrown when setting drop chance for player inventory
By: md_5 <git@md-5.net>
2019-01-13 14:10:45 +11:00
CraftBukkit/Spigot
9782a90283 Fix duplicate iron golem add
By: md_5 <git@md-5.net>
2019-01-11 12:37:43 +11:00
CraftBukkit/Spigot
d8f2a7e7cc Fix a bunch of duplicate EntityCombustEvent calls
By: md_5 <git@md-5.net>
2019-01-11 11:41:32 +11:00
CraftBukkit/Spigot
ab7419bd7d SPIGOT-4571: EntityCombustEvent not firing for phantoms
By: md_5 <git@md-5.net>
2019-01-09 20:38:37 +11:00
CraftBukkit/Spigot
5a915978fa SPIGOT-4570: Add FluidLevelChangeEvent
By: md_5 <git@md-5.net>
2019-01-08 21:23:11 +11:00
CraftBukkit/Spigot
73e6e274ff SPIGOT-4566: Don't special case NETHER_PORTAL teleport reason from plugins
By: md_5 <git@md-5.net>
2019-01-08 09:26:34 +11:00
CraftBukkit/Spigot
9276e6f396 Fix BlockDropItemEvent for Skulls and Shulker Boxes
By: md_5 <git@md-5.net>
2019-01-07 13:57:35 +11:00
CraftBukkit/Spigot
6ec5377de8 Load default world spawn areas in consistent order
By: md_5 <git@md-5.net>
2019-01-05 17:05:51 +11:00
CraftBukkit/Spigot
cf22e510c4 Fix confusing migration message appearing on fresh server
By: md_5 <git@md-5.net>
2019-01-05 17:03:12 +11:00
CraftBukkit/Spigot
01688ed577 Remove redundant CraftBukkit change for secondary world data
The above loop would always save this data

By: md_5 <git@md-5.net>
2019-01-05 16:41:02 +11:00
CraftBukkit/Spigot
e2d96edfa7 Process conversation input on the main thread.
Fixes BUKKIT-5611.

By: riking <rikingcoding@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
cf0f429119 Cap Objective Score Length
Adds a check for Score arguments that would crash the client

By: hauno <imhauno@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
b05a252b02 Cross World Entity Teleportation
Use Entity.teleportTo for cross-world teleportation in CraftEntity.

By: Andrew Krieger <Slizyboy@hotmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
bda697612e Check for blank OfflinePlayer Names
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
d19f284744 Descriptive kick reasons instead of Nope!
By: drXor <mcyoungsota@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
3eede450ed Cap Channel Registrations
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
fe7c2ee97f Identify CraftScheduler threads with useful names
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
44f09e5404 Skip tests on default builds
By: md_5 <git@md-5.net>
2019-01-04 20:25:27 +11:00
CraftBukkit/Spigot
3e70f09bdf SPIGOT-4563: Fix regenerating chunks saved to disk already
By: md_5 <git@md-5.net>
2019-01-03 15:44:06 +11:00
CraftBukkit/Spigot
ec15f56573 Remove redundant BlockPosition creation from sleep API
By: md_5 <git@md-5.net>
2019-01-02 22:58:07 +11:00
CraftBukkit/Spigot
5aff480181 Add RecipeChoice.ExactChoice API for NBT matches on ingredients
By: md_5 <git@md-5.net>
2019-01-02 15:56:21 +11:00
CraftBukkit/Spigot
1336c4afb9 SPIGOT-4560: Add HumanEntity.sleep and related APIs
By: md_5 <git@md-5.net>
2019-01-02 14:41:31 +11:00
CraftBukkit/Spigot
19795494f3 SPIGOT-4562: reducedDebugInfo not updated on world change
By: md_5 <git@md-5.net>
2019-01-02 10:57:47 +11:00
CraftBukkit/Spigot
d2d0415a74 SPIGOT-4556: Fix plugins closing inventory during drop events
By: md_5 <git@md-5.net>
2018-12-31 10:13:02 +11:00
CraftBukkit/Spigot
92b2d3a400 Replace version constants with methods to prevent compiler inlining
By: md_5 <git@md-5.net>
2018-12-30 16:00:31 +11:00
CraftBukkit/Spigot
adabfc807a Use API method to create offset command completions
By: md_5 <git@md-5.net>
2018-12-28 10:34:51 +11:00
CraftBukkit/Spigot
cf4055b264 SPIGOT-3747: Add API for force loaded chunks
By: md_5 <git@md-5.net>
2018-12-27 12:44:50 +11:00
CraftBukkit/Spigot
92e8783d1e SPIGOT-3538: Add getHitBlockFace for ProjectileHitEvent
By: md_5 <git@md-5.net>
2018-12-27 12:19:45 +11:00
CraftBukkit/Spigot
aa6ac2b0e2 SPIGOT-2864: Make Arrow / Item setTicksLived behave like FallingBlock
By: md_5 <git@md-5.net>
2018-12-27 12:02:17 +11:00
CraftBukkit/Spigot
b9c01d1768 SPIGOT-1811: Death message not shown on respawn screen
By: md_5 <git@md-5.net>
2018-12-27 11:37:19 +11:00
CraftBukkit/Spigot
6b0b34838e SPIGOT-943: InventoryCloseEvent called on death regardless of open inventory
By: md_5 <git@md-5.net>
2018-12-27 11:36:53 +11:00
CraftBukkit/Spigot
e7b5d8a7cf SPIGOT-794: Call EntityPlaceEvent for Minecart placement
By: md_5 <git@md-5.net>
2018-12-27 10:45:36 +11:00
CraftBukkit/Spigot
d085b4781b Add InventoryView#getSlotType
By: md_5 <git@md-5.net>
2018-12-26 10:40:14 +11:00
CraftBukkit/Spigot
6631f07cae Do not use deprecated ItemSpawnEvent constructor
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
fbbba56eca SPIGOT-4547: Call EntitySpawnEvent as general spawn fallback event
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
5e4a190d2c Add PlayerItemDamageEvent
By: md_5 <md_5@live.com.au>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
1f95e4ef1c Add API to get / set base arrow damage
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00