We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b346e7 commit 4b5369cCopy full SHA for 4b5369c
common/src/main/kotlin/com/lambda/module/modules/combat/FakePlayer.kt
@@ -20,9 +20,13 @@ object FakePlayer : Module(
20
init {
21
onEnable {
22
fakePlayer = OtherClientPlayerEntity(world, GameProfile(uuid, playerName))
23
- .apply(player::copyFrom)
24
- .apply(world::addEntity)
25
- .apply { id = -2024-4-20 }
+ .apply {
+ copyFrom(player)
+
26
+ id = -2024-4-20
27
+ }
28
29
+ world.addEntity(fakePlayer)
30
}
31
32
onDisable {
0 commit comments