mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-31 11:49:53 +02:00
Drop manual isEditable copy in CraftSign
Signs no longer have a specific isEdiable state, the entire API in this regard needs updating/deprecation. The boolean field is completely gone, replaced by a uuid (which will need a new setEditingPlayer(UUID) method on the Sign interface), and the current upstream implementation of setEdiable simply flips the is_waxed state. This patch is hence not needed as it neither allows editing (which will be redone in a later patch) nor is required to copy the is_waxed boolean flag as it lives in the signs compound tag and is covered by applyTo.
This commit is contained in:
parent
1c12701691
commit
2873869bb1
393 changed files with 3 additions and 1 deletions
patches
removed/1.20
server
0571-Drop-carried-item-when-player-has-disconnected.patch0572-forced-whitelist-use-configurable-kick-message.patch0573-Don-t-ignore-result-of-PlayerEditBookEvent.patch0574-Expose-protocol-version.patch0575-Enhance-console-tab-completions-for-brigadier-comman.patch0576-Fix-PlayerItemConsumeEvent-cancelling-properly.patch0577-Add-bypass-host-check.patch0578-Set-area-affect-cloud-rotation.patch0579-add-isDeeplySleeping-to-HumanEntity.patch0580-add-consumeFuel-to-FurnaceBurnEvent.patch0581-add-get-set-drop-chance-to-EntityEquipment.patch0582-fix-PigZombieAngerEvent-cancellation.patch0583-fix-PlayerItemHeldEvent-firing-twice.patch0584-Added-PlayerDeepSleepEvent.patch0585-More-World-API.patch0586-Added-PlayerBedFailEnterEvent.patch0587-Implement-methods-to-convert-between-Component-and-B.patch0588-Fix-anchor-respawn-acting-as-a-bed-respawn-from-the-.patch0589-Introduce-beacon-activation-deactivation-events.patch0590-add-RespawnFlags-to-PlayerRespawnEvent.patch0591-Add-Channel-initialization-listeners.patch0592-Send-empty-commands-if-tab-completion-is-disabled.patch0593-Add-more-WanderingTrader-API.patch0594-Add-EntityBlockStorage-clearEntities.patch0595-Add-Adventure-message-to-PlayerAdvancementDoneEvent.patch0596-Add-raw-address-to-AsyncPlayerPreLoginEvent.patch0597-Inventory-close.patch0598-Add-a-should-burn-in-sunlight-API-for-Phantoms-and-S.patch0599-Fix-CraftPotionBrewer-cache.patch0600-Add-basic-Datapack-API.patch0601-Add-environment-variable-to-disable-server-gui.patch0602-additions-to-PlayerGameModeChangeEvent.patch0603-ItemStack-repair-check-API.patch0604-More-Enchantment-API.patch0605-Move-range-check-for-block-placing-up.patch0606-Fix-and-optimise-world-force-upgrading.patch0607-Add-Mob-lookAt-API.patch0608-Add-Unix-domain-socket-support.patch0609-Add-EntityInsideBlockEvent.patch0610-Attributes-API-for-item-defaults.patch0611-Add-cause-to-Weather-ThunderChangeEvents.patch0612-More-Lidded-Block-API.patch0613-Limit-item-frame-cursors-on-maps.patch0614-Add-PlayerKickEvent-causes.patch0615-Add-PufferFishStateChangeEvent.patch0616-Fix-PlayerBucketEmptyEvent-result-itemstack.patch0617-Synchronize-PalettedContainer-instead-of-ThreadingDe.patch0618-Add-option-to-fix-items-merging-through-walls.patch0619-Add-BellRevealRaiderEvent.patch0620-Fix-invulnerable-end-crystals.patch0621-Add-ElderGuardianAppearanceEvent.patch0622-Fix-dangerous-end-portal-logic.patch0623-Optimize-Biome-Mob-Lookups-for-Mob-Spawning.patch0624-Make-item-validations-configurable.patch0625-Line-Of-Sight-Changes.patch0626-add-per-world-spawn-limits.patch0627-Fix-potions-splash-events.patch0628-Add-more-LimitedRegion-API.patch0629-Fix-PlayerDropItemEvent-using-wrong-item.patch0630-Missing-Entity-Behavior-API.patch0631-Ensure-disconnect-for-book-edit-is-called-on-main.patch0632-Fix-return-value-of-Block-applyBoneMeal-always-being.patch0633-Use-getChunkIfLoadedImmediately-in-places.patch0634-Fix-commands-from-signs-not-firing-command-events.patch0635-Adds-PlayerArmSwingEvent.patch0636-Fixes-kick-event-leave-message-not-being-sent.patch0637-Add-config-for-mobs-immune-to-default-effects.patch0638-Fix-incorrect-message-for-outdated-client.patch0639-Don-t-apply-cramming-damage-to-players.patch0640-Rate-options-and-timings-for-sensors-and-behaviors.patch0641-Add-a-bunch-of-missing-forceDrop-toggles.patch0642-Stinger-API.patch0643-Fix-incosistency-issue-with-empty-map-items-in-CB.patch0644-Add-System.out-err-catcher.patch0645-Fix-test-not-bootstrapping.patch0646-Rewrite-LogEvents-to-contain-the-source-jars-in-stac.patch0647-Improve-boat-collision-performance.patch0648-Prevent-AFK-kick-while-watching-end-credits.patch0649-Add-PlayerSetSpawnEvent.patch0650-Make-hoppers-respect-inventory-max-stack-size.patch0651-Optimize-entity-tracker-passenger-checks.patch0652-Config-option-for-Piglins-guarding-chests.patch0653-Added-EntityDamageItemEvent.patch0654-Optimize-indirect-passenger-iteration.patch0655-Configurable-item-frame-map-cursor-update-interval.patch0656-Make-EntityUnleashEvent-cancellable.patch0657-Clear-bucket-NBT-after-dispense.patch0658-Change-EnderEye-target-without-changing-other-things.patch0659-Add-BlockBreakBlockEvent.patch0660-Option-to-prevent-NBT-copy-in-smithing-recipes.patch0661-More-CommandBlock-API.patch0662-Add-missing-team-sidebar-display-slots.patch0663-Add-back-EntityPortalExitEvent.patch0664-Add-methods-to-find-targets-for-lightning-strikes.patch0665-Get-entity-default-attributes.patch0666-Left-handed-API.patch0667-Add-more-advancement-API.patch0668-Add-ItemFactory-getSpawnEgg-API.patch0669-Add-critical-damage-API.patch
|
@ -3,7 +3,9 @@ From: Shane Freeder <theboyetronic@gmail.com>
|
|||
Date: Tue, 23 Mar 2021 06:43:30 +0000
|
||||
Subject: [PATCH] copy TESign#isEditable from snapshots
|
||||
|
||||
|
||||
Dropped in 1.20 as isEditable no longer exists and the full uuid of the editing player
|
||||
is stored. New API is needed, but the current #setEditable only mutates the is_waxed state of a sign, which
|
||||
is part of the compound tag and hence already copied by applyTo.
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java b/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java
|
||||
index 97028a14830384f06f4f1de36abfbc6bc1b90a19..a7d75d33367933fdec27538cde5a53cd41f3c252 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/block/CraftSign.java
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue