Commits

Doc authored and md_5 committed ae8f5fc0259
#1125: Add support for NoteBlock sounds in Skulls
No tags

nms-patches/net/minecraft/world/level/block/entity/TileEntitySkull.patch

Added
1 +--- a/net/minecraft/world/level/block/entity/TileEntitySkull.java
2 ++++ b/net/minecraft/world/level/block/entity/TileEntitySkull.java
3 +@@ -33,7 +33,7 @@
4 + @Nullable
5 + public GameProfile owner;
6 + @Nullable
7 +- private MinecraftKey noteBlockSound;
8 ++ public MinecraftKey noteBlockSound; // PAIL private->public
9 + private int animationTickCount;
10 + private boolean isAnimating;
11 +
12 +@@ -148,9 +148,12 @@
13 + gameprofile1 = TileEntitySkull.sessionService.fillProfileProperties(gameprofile1, true);
14 + }
15 +
16 ++ // CraftBukkit start - decompile error
17 ++ final GameProfile finalgameprofile1 = gameprofile1;
18 + TileEntitySkull.mainThreadExecutor.execute(() -> {
19 +- TileEntitySkull.profileCache.add(gameprofile1);
20 +- consumer.accept(gameprofile1);
21 ++ TileEntitySkull.profileCache.add(finalgameprofile1);
22 ++ consumer.accept(finalgameprofile1);
23 ++ // CraftBukkit end
24 + });
25 + }, () -> {
26 + TileEntitySkull.mainThreadExecutor.execute(() -> {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut