diff options
author | Jake Potrebic <[email protected]> | 2024-06-15 08:05:21 -0700 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-06-15 18:52:00 +0200 |
commit | fb511c698e5e7f2abe2732c0b58d47d4f92ca5c6 (patch) | |
tree | 68b8f523420fcf7b7e52cb9ebdfaf234783507f9 /patches/server/0992-stubs.patch | |
parent | 5bd7f4e8aeca54846f9a8b4969bbee209762343a (diff) | |
download | Paper-fb511c698e5e7f2abe2732c0b58d47d4f92ca5c6.tar.gz Paper-fb511c698e5e7f2abe2732c0b58d47d4f92ca5c6.zip |
Fix Player#sendBlockState (#10855)
Diffstat (limited to 'patches/server/0992-stubs.patch')
-rw-r--r-- | patches/server/0992-stubs.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/patches/server/0992-stubs.patch b/patches/server/0992-stubs.patch new file mode 100644 index 0000000000..7bc16f1c5f --- /dev/null +++ b/patches/server/0992-stubs.patch @@ -0,0 +1,48 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Nassim Jahnke <[email protected]> +Date: Fri, 14 Jun 2024 17:19:59 +0200 +Subject: [PATCH] stubs + + +diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +index ecd975855d92ae5948ee926f42396cb004843aed..4a613d94f40cc73a9f50b8ef2d6949fc2bd34e53 100644 +--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java ++++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +@@ -110,6 +110,7 @@ import net.minecraft.world.level.saveddata.maps.MapItemSavedData; + import org.bukkit.BanEntry; + import org.bukkit.BanList; + import org.bukkit.Bukkit; ++import org.bukkit.Chunk; + import org.bukkit.DyeColor; + import org.bukkit.Effect; + import org.bukkit.GameMode; +@@ -192,6 +193,7 @@ import org.bukkit.scoreboard.Scoreboard; + import org.jetbrains.annotations.NotNull; + + import net.md_5.bungee.api.chat.BaseComponent; // Spigot ++import org.jetbrains.annotations.Unmodifiable; + + @DelegateDeserialization(CraftOfflinePlayer.class) + public class CraftPlayer extends CraftHumanEntity implements Player { +@@ -3481,6 +3483,21 @@ public class CraftPlayer extends CraftHumanEntity implements Player { + public void resetIdleDuration() { + this.getHandle().resetLastActionTime(); + } ++ ++ @Override ++ public @NotNull @Unmodifiable Set<Long> getSentChunkKeys() { ++ throw new UnsupportedOperationException("Not implemented yet"); ++ } ++ ++ @Override ++ public @NotNull @Unmodifiable Set<Chunk> getSentChunks() { ++ throw new UnsupportedOperationException("Not implemented yet"); ++ } ++ ++ @Override ++ public boolean isChunkSent(final long chunkKey) { ++ throw new UnsupportedOperationException("Not implemented yet"); ++ } + // Paper end + + public Player.Spigot spigot() |