Fix some broken block place logic (#9094)

- The dispensed shulker will not play the place sound (due to its logic been removed)
- The hanging sign text editor cannot be cancelled using the BlockPlaceEvent (not consistent with the other regular signs)
- The jukebox logic hasn't been synced with the RecordItem
This commit is contained in:
Lulu13022002
2023-04-07 00:39:32 +02:00
parent b87c297e3b
commit b0f2d4916c
4 changed files with 74 additions and 4 deletions

View File

@@ -29,11 +29,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
worldserver1 = worldserver;
}
+ // Paper
+ // Paper start
+ if (nbttagcompound == null) {
+ player.spawnReason = org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.DEFAULT; // set Player SpawnReason to DEFAULT on first login
+ }
+ // Paper
+ // Paper end
player.setLevel(worldserver1);
String s1 = "local";