Player Shadow with Server Crashed
Small-SaltedFish opened this issue ยท 0 comments
Carpet 1.21 with Fabric in Server
When I use /player .... shadow,
It doesn't work 100%.
and when it works,
if I use my real client to let the fakeplayer out, Server will be crashed.
if I use kill in server, Server will be crashed,too.
`---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!
Time: 2024-08-14 17:00:45
Description: Ticking player
java.lang.NullPointerException: Cannot invoke "java.util.Map$Entry.getKey()" because "entry" is null
at net.minecraft.world.entity.player.Player.handler$dgi002$gca$tick(Player.java:15435)
at net.minecraft.world.entity.player.Player.tick(Player.java:365)
at net.minecraft.server.level.ServerPlayer.doTick(ServerPlayer.java:588)
at carpet.patches.EntityPlayerMPFake.mixinextras$bridge$method_14226$27(EntityPlayerMPFake.java)
at carpet.patches.EntityPlayerMPFake.wrapOperation$cgh000$carpet-tis-addition$fakePlayerTicksLikeRealPlayer_delayedPlayerEntityTick(EntityPlayerMPFake.java:2054)
at carpet.patches.EntityPlayerMPFake.tick(EntityPlayerMPFake.java:171)
at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:770)
at net.minecraft.world.level.Level.guardEntityTick(Level.java:498)
at net.minecraft.server.level.ServerLevel.lambda$tick$2(ServerLevel.java:408)
at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54)
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:372)
at net.minecraft.server.MinecraftServer.mixinextras$bridge$method_18765$341(MinecraftServer.java)
at net.minecraft.server.MinecraftServer.wrapOperation$zja000$carpet-ams-addition$tickWorlds(MinecraftServer.java:4145)
at net.minecraft.server.MinecraftServer.mixinextras$bridge$wrapOperation$zja000$carpet-ams-addition$tickWorlds$342(MinecraftServer.java)
at net.minecraft.server.MinecraftServer.wrapOperation$cmo000$carpet-tis-addition$yeetUpdateSuppressionCrash_implOnTickWorlds(MinecraftServer.java:8159)
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1021)
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:299)
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:912)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:281)
at [email protected]/java.lang.Thread.run(Thread.java:1583)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.class_1657.handler$dgi002$gca$tick(class_1657.java:15435)
at net.minecraft.class_1657.method_5773(class_1657.java:365)
at net.minecraft.class_3222.method_14226(class_3222.java:588)
at carpet.patches.EntityPlayerMPFake.mixinextras$bridge$method_14226$27(EntityPlayerMPFake.java)
at carpet.patches.EntityPlayerMPFake.wrapOperation$cgh000$carpet-tis-addition$fakePlayerTicksLikeRealPlayer_delayedPlayerEntityTick(EntityPlayerMPFake.java:2054)
at carpet.patches.EntityPlayerMPFake.method_5773(EntityPlayerMPFake.java:171)
at net.minecraft.class_3218.method_18762(class_3218.java:770)
at net.minecraft.class_1937.method_18472(class_1937.java:498)
at net.minecraft.class_3218.method_31420(class_3218.java:408)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:372)
at net.minecraft.server.MinecraftServer.mixinextras$bridge$method_18765$341(MinecraftServer.java)
at net.minecraft.server.MinecraftServer.wrapOperation$zja000$carpet-ams-addition$tickWorlds(MinecraftServer.java:4145)
at net.minecraft.server.MinecraftServer.mixinextras$bridge$wrapOperation$zja000$carpet-ams-addition$tickWorlds$342(MinecraftServer.java)
-- Player being ticked --
Details:
Entity Type: minecraft:player (carpet.patches.EntityPlayerMPFake)
Entity ID: 1155
Entity Name: Small_SaltedFish
Entity's Exact location: 227.96, 6.00, 33.58
Entity's Block location: World: (227,6,33), Section: (at 3,6,1 in 14,0,2; chunk contains blocks 224,0,32 to 239,255,47), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at net.minecraft.class_3222.method_14226(class_3222.java:588)
at carpet.patches.EntityPlayerMPFake.mixinextras$bridge$method_14226$27(EntityPlayerMPFake.java)
at carpet.patches.EntityPlayerMPFake.wrapOperation$cgh000$carpet-tis-addition$fakePlayerTicksLikeRealPlayer_delayedPlayerEntityTick(EntityPlayerMPFake.java:2054)
at carpet.patches.EntityPlayerMPFake.method_5773(EntityPlayerMPFake.java:171)
at net.minecraft.class_3218.method_18762(class_3218.java:770)
at net.minecraft.class_1937.method_18472(class_1937.java:498)
at net.minecraft.class_3218.method_31420(class_3218.java:408)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:372)
at net.minecraft.server.MinecraftServer.mixinextras$bridge$method_18765$341(MinecraftServer.java)
at net.minecraft.server.MinecraftServer.wrapOperation$zja000$carpet-ams-addition$tickWorlds(MinecraftServer.java:4145)
at net.minecraft.server.MinecraftServer.mixinextras$bridge$wrapOperation$zja000$carpet-ams-addition$tickWorlds$342(MinecraftServer.java)
at net.minecraft.server.MinecraftServer.wrapOperation$cmo000$carpet-tis-addition$yeetUpdateSuppressionCrash_implOnTickWorlds(MinecraftServer.java:8159)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021)
at net.minecraft.class_3176.method_3813(class_3176.java:299)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281)
at java.base/java.lang.Thread.run(Thread.java:1583)
-- Entity being ticked --
Details:
Entity Type: minecraft:player (carpet.patches.EntityPlayerMPFake)
Entity ID: 1155
Entity Name: Small_SaltedFish
Entity's Exact location: 227.96, 6.00, 33.58
Entity's Block location: World: (227,6,33), Section: (at 3,6,1 in 14,0,2; chunk contains blocks 224,0,32 to 239,255,47), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at net.minecraft.class_1937.method_18472(class_1937.java:498)
at net.minecraft.class_3218.method_31420(class_3218.java:408)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:372)
at net.minecraft.server.MinecraftServer.mixinextras$bridge$method_18765$341(MinecraftServer.java)
at net.minecraft.server.MinecraftServer.wrapOperation$zja000$carpet-ams-addition$tickWorlds(MinecraftServer.java:4145)
at net.minecraft.server.MinecraftServer.mixinextras$bridge$wrapOperation$zja000$carpet-ams-addition$tickWorlds$342(MinecraftServer.java)
at net.minecraft.server.MinecraftServer.wrapOperation$cmo000$carpet-tis-addition$yeetUpdateSuppressionCrash_implOnTickWorlds(MinecraftServer.java:8159)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021)
at net.minecraft.class_3176.method_3813(class_3176.java:299)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281)
at java.base/java.lang.Thread.run(Thread.java:1583)
-- Affected level --
Details:
All players: 1 total; [EntityPlayerMPFake['Small_SaltedFish'/1155, l='ServerLevel[world]', x=227.96, y=6.00, z=33.58]]
Chunk stats: 2209
Level dimension: minecraft:the_end
Derived: true
Level spawn location: World: (0,114,0), Section: (at 0,2,0 in 0,7,0; chunk contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 13984633 game time, 383696 day time
Level name: world
Level game mode: Game mode: survival (ID 0). Hardcore: false. Commands: false
Level weather: Rain time: 86305 (now: false), thunder time: 69966 (now: false)
Known server brands: fabric
Removed feature flags:
Level was modded: true
Level storage version: 0x04ABD - Anvil
Loaded entity count: 116
Stacktrace:
at net.minecraft.class_3218.method_8538(class_3218.java:1693)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1024)
at net.minecraft.class_3176.method_3813(class_3176.java:299)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281)
at java.base/java.lang.Thread.run(Thread.java:1583)
-- System Details --
Details:
Minecraft Version: 1.21
Minecraft Version ID: 1.21
Operating System: Linux (amd64) version 3.10.0-1160.102.1.el7.x86_64
Java Version: 21.0.3.0.3, Alibaba
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Alibaba
Memory: 209783872 bytes (200 MiB) / 1073741824 bytes (1024 MiB) up to 2684354560 bytes (2560 MiB)
CPUs: 2
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz
Identifier: Intel64 Family 6 Model 94 Stepping 3
Microarchitecture: Skylake (Client)
Frequency (GHz): 2.40
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 2
Graphics card #0 name: GD 5446
Graphics card #0 vendor: Cirrus Logic (0x1013)
Graphics card #0 VRAM (MiB): 32.00
Graphics card #0 deviceId: 0x00b8
Graphics card #0 versionInfo: unknown
Memory slot #0 capacity (MiB): 4096.00
Memory slot #0 clockSpeed (GHz): -0.00
Memory slot #0 type: RAM
Virtual memory max (MiB): 1847.02
Virtual memory used (MiB): 2252.93
Swap memory total (MiB): 0.00
Swap memory used (MiB): 0.00
Space in storage for jna.tmpdir (MiB):
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB):
Space in storage for io.netty.native.workdir (MiB):
Space in storage for java.io.tmpdir (MiB): available: 59292.71, total: 80505.38
Space in storage for workdir (MiB): available: 59292.71, total: 80505.38
JVM Flags: 2 total; -Xms1024M -Xmx2560M
Fabric Mods:
appleskin: AppleSkin 3.0.5+mc1.21
better-fabric-console: Better Fabric Console 1.1.10
adventure-platform-fabric: adventure-platform-fabric 5.14.0
net_kyori_adventure-api: adventure-api 4.17.0
net_kyori_adventure-key: adventure-key 4.17.0
net_kyori_adventure-platform-api: adventure-platform-api 4.3.3
net_kyori_adventure-text-logger-slf4j: adventure-text-logger-slf4j 4.17.0
net_kyori_adventure-text-minimessage: adventure-text-minimessage 4.17.0
net_kyori_adventure-text-serializer-ansi: adventure-text-serializer-ansi 4.17.0
net_kyori_adventure-text-serializer-gson: adventure-text-serializer-gson 4.17.0
net_kyori_adventure-text-serializer-json: adventure-text-serializer-json 4.17.0
net_kyori_adventure-text-serializer-plain: adventure-text-serializer-plain 4.17.0
net_kyori_ansi: ansi 1.0.3
net_fabricmc_mapping-io: mapping-io 0.6.1
org_fusesource_jansi_jansi: jansi 2.4.1
org_jline_jline: jline 3.26.2
org_jline_jline-terminal-jansi: jline-terminal-jansi 3.26.2
org_spongepowered_configurate-core: configurate-core 4.1.2
org_spongepowered_configurate-hocon: configurate-hocon 4.1.2
carpet: Carpet Mod 1.4.147+v240613
carpet-ams-addition: Carpet AMS Addition 2.45.1
annotationtoolbox: AnnotationToolBox 0.3
com_esotericsoftware_yamlbeans_yamlbeans: yamlbeans 1.17
mixinextras: MixinExtras 0.4.0
carpet-extra: Carpet Extra 1.4.147
carpet-org-addition: Carpet Org Addition v1.32.0-2407270138
carpet-tis-addition: Carpet TIS Addition 1.62.0
conditional-mixin: conditional mixin 0.6.2
cloth-config: Cloth Config v15 15.0.128
cloth-basic-math: cloth-basic-math 0.6.1
fabric-api: Fabric API 0.100.8+1.21
fabric-api-base: Fabric API Base 0.4.42+6573ed8cd1
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.67+b5597344d1
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.29+5bd9f1bcd1
fabric-block-api-v1: Fabric Block API (v1) 1.0.22+0af3f5a7d1
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.10+6573ed8cd1
fabric-command-api-v1: Fabric Command API (v1) 1.2.49+f71b366fd1
fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd9d1
fabric-commands-v0: Fabric Commands (v0) 0.2.66+df3654b3d1
fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.15+b5597344d1
fabric-convention-tags-v1: Fabric Convention Tags 2.0.18+7f945d5bd1
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.4.2+c111832ad1
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.29+0af3f5a7d1
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.25+6a6dfa19d1
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.13+16c4ae25d1
fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.0+6fc22b99d1
fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.12+6fc22b99d1
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.10+e633f883d1
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.53+6ced4dd9d1
fabric-item-api-v1: Fabric Item API (v1) 11.0.0+afdfc921d1
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.3+78017270d1
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.11+8f3583aed1
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.13+3f89f5a5d1
fabric-loot-api-v3: Fabric Loot API (v3) 1.0.1+3f89f5a5d1
fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8cd1
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.1.13+d1321076d1
fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8cd1
fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.10+65089712d1
fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.0.26+a5d66753d1
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.48+73761d2ed1
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.6+b5597344d1
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.2.1+d153f344d1
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.83+b5597344d1
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.15+3dccd343d1
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.0.12+6573ed8cd1
fabricloader: Fabric Loader 0.15.11
ferritecore: FerriteCore 7.0.0
floodgate: Floodgate-Fabric 2.2.3-SNAPSHOT
aopalliance_aopalliance: aopalliance 1.0
jakarta_inject_jakarta_inject-api: jakarta.inject-api 2.0.1
javax_inject_javax_inject: javax.inject 1
org_geysermc_geyser_common: common 2.2.3-SNAPSHOT
org_java-websocket_java-websocket: Java-WebSocket 1.5.2
gca: GugleCarpetAddition mc1.21-2.9.0+build.52
geyser-fabric: Geyser-Fabric 2.4.1-SNAPSHOT
com_fasterxml_jackson_core_jackson-annotations: jackson-annotations 2.17.0
com_fasterxml_jackson_core_jackson-core: jackson-core 2.17.0
com_fasterxml_jackson_core_jackson-databind: jackson-databind 2.17.0
com_fasterxml_jackson_dataformat_jackson-dataformat-yaml: jackson-dataformat-yaml 2.17.0
com_google_errorprone_error_prone_annotations: error_prone_annotations 2.27.0
com_nukkitx_natives: natives 1.0.3
io_airlift_aircompressor: aircompressor 0.25
io_jsonwebtoken_jjwt-api: jjwt-api 0.12.6
io_jsonwebtoken_jjwt-gson: jjwt-gson 0.12.6
io_jsonwebtoken_jjwt-impl: jjwt-impl 0.12.6
io_netty_netty-codec-dns: netty-codec-dns 4.1.107
io_netty_netty-codec-haproxy: netty-codec-haproxy 4.1.107
io_netty_netty-resolver-dns-classes-macos: netty-resolver-dns-classes-macos 4.1.107
net_bytebuddy_byte-buddy: byte-buddy 1.14.9
net_jodah_expiringmap: expiringmap 0.5.10
net_kyori_adventure-nbt: adventure-nbt 4.15.0
net_kyori_adventure-text-serializer-json-legacy-impl: adventure-text-serializer-json-legacy-impl 4.15.0
net_kyori_examination-api: examination-api 1.3.0
net_kyori_examination-string: examination-string 1.3.0
net_kyori_option: option 1.0.0
net_lenni0451_commons_httpclient: httpclient 1.5.1
net_raphimc_minecraftauth: MinecraftAuth 4.1.0
org_bitbucket_b_c_jose4j: jose4j 0.9.3
org_cloudburstmc_math_api: api 2.0
org_cloudburstmc_math_immutable: immutable 2.0
org_cloudburstmc_nbt: nbt 3.0.3
org_geysermc_api_base-api: base-api 1.0.1
org_geysermc_cumulus_cumulus: cumulus 1.1.2
org_geysermc_event_events: events 1.1-SNAPSHOT
org_lanternpowered_lmbda: lmbda 2.0.0
org_yaml_snakeyaml: snakeyaml 2.2
java: OpenJDK 64-Bit Server VM 21
jei: Just Enough Items 19.5.3.67
lithium: Lithium 0.12.7
luckperms: LuckPerms 5.4.137
minecraft: Minecraft 1.21
servux: Servux 0.3.7
fabric-permissions-api-v0: fabric-permissions-api 0.3.1
syncmatica: Syncmatica 0.3.12-sakura.6
fabric-networking-api-v1: Fabric Networking API (v1) 4.2.0+ab7edbacd1
fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.2.0+7e687b32d1
tabtps-fabric: TabTPS 1.3.24
cloud: Cloud 2.0.0-beta.7
io_leangen_geantyref_geantyref: geantyref 1.3.15
org_incendo_cloud-brigadier: cloud-brigadier 2.0.0-beta.8
org_incendo_cloud-core: cloud-core 2.0.0-rc.2
org_incendo_cloud-minecraft-modded-common-fabric-repack_: cloud-minecraft-modded-common-fabric-repack 2.0.0-beta.7
org_incendo_cloud-services: cloud-services 2.0.0-rc.2
com_typesafe_config: config 1.4.3
net_kyori_adventure-serializer-configurate4: adventure-serializer-configurate4 4.17.0
net_kyori_adventure-text-feature-pagination: adventure-text-feature-pagination 4.0.0-SNAPSHOT
net_kyori_adventure-text-serializer-legacy: adventure-text-serializer-legacy 4.17.0
org_incendo_cloud-minecraft-extras: cloud-minecraft-extras 2.0.0-SNAPSHOT
textile_backup: Textile Backup 3.1.3-1.21
com_github_shevek_parallelgzip: parallelgzip af5f5c297e735f3f2df7aa4eb0e19a5810b8aff6
org_apache_commons_commons-compress: commons-compress 1.26.1
org_tukaani_xz: xz 1.9
vanilla-permissions: Vanilla Permissions 0.2.3+1.21
voicechat: Simple Voice Chat 1.21-2.5.19
xaerominimap: Xaero's Minimap 24.2.1
xaeroworldmap: Xaero's World Map 1.38.8
Server Running: true
Player Count: 2 / 10; [EntityPlayerMPFake['KaMuaMua'/4, l='ServerLevel[world]', x=-341.00, y=65.00, z=-532.99], EntityPlayerMPFake['Small_SaltedFish'/1155, l='ServerLevel[world]', x=227.96, y=6.00, z=33.58]]
Active Data Packs: vanilla, fabric, fabric-convention-tags-v2, file/AmsData (incompatible)
Available Data Packs: bundle, fabric, fabric-convention-tags-v2, file/AmsData (incompatible), trade_rebalance, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: -7512197374568100000
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)`