From 08721cde2dbef6bfc6af60777cbd6f2102328a9e Mon Sep 17 00:00:00 2001 From: cryleak <58886961+cryleak@users.noreply.github.com> Date: Tue, 29 Oct 2024 19:18:50 +0100 Subject: [PATCH 1/2] fix secretaura china thing --- .../com/github/soshimee/secretguide/features/SecretAura.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/github/soshimee/secretguide/features/SecretAura.java b/src/main/java/com/github/soshimee/secretguide/features/SecretAura.java index 8432608..46a0c23 100644 --- a/src/main/java/com/github/soshimee/secretguide/features/SecretAura.java +++ b/src/main/java/com/github/soshimee/secretguide/features/SecretAura.java @@ -105,7 +105,7 @@ public void onTick(TickEvent.ClientTickEvent event) { GameProfile profile = ((TileEntitySkull) tileEntity).getPlayerProfile(); if (profile == null) continue; String profileId = profile.getId().toString(); - if (!Objects.equals(profileId, "26bb1a8d-7c66-31c6-82d5-a9c04c94fb02")) { + if (!Objects.equals(profileId, "e0f3e929-869e-3dca-9504-54c666ee6f23")) { if (!Objects.equals(profileId, "edb0155f-379c-395a-9c7d-1b6005987ac8")) continue; else if (world.getBlockState(position.down()).getBlock() == Blocks.redstone_block || world.getBlockState(position.north()).getBlock() == Blocks.redstone_block || world.getBlockState(position.south()).getBlock() == Blocks.redstone_block || world.getBlockState(position.west()).getBlock() == Blocks.redstone_block || world.getBlockState(position.east()).getBlock() == Blocks.redstone_block) { redstoneKey = false; @@ -232,7 +232,7 @@ public void onPacketReceive(ReceivePacketEvent event) { if (itemStack.getItem() != Items.skull) return; if (!itemStack.hasTagCompound()) return; String profileId = itemStack.getTagCompound().getCompoundTag("SkullOwner").getString("Id"); - if (!profileId.equals("26bb1a8d-7c66-31c6-82d5-a9c04c94fb02")) return; + if (!profileId.equals("e0f3e929-869e-3dca-9504-54c666ee6f23")) return; blocksDone.add(new BlockPos(entity.posX, entity.posY + 2, entity.posZ)); } else if (event.packet instanceof S02PacketChat) { S02PacketChat packet = (S02PacketChat) event.packet; From 570501758e2e67fdaccb8cc831fc3046bc25073b Mon Sep 17 00:00:00 2001 From: cryleak <58886961+cryleak@users.noreply.github.com> Date: Tue, 29 Oct 2024 19:29:28 +0100 Subject: [PATCH 2/2] fix redstone skull --- .../github/soshimee/secretguide/features/SecretAura.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/github/soshimee/secretguide/features/SecretAura.java b/src/main/java/com/github/soshimee/secretguide/features/SecretAura.java index 46a0c23..bc4a2d0 100644 --- a/src/main/java/com/github/soshimee/secretguide/features/SecretAura.java +++ b/src/main/java/com/github/soshimee/secretguide/features/SecretAura.java @@ -106,7 +106,7 @@ public void onTick(TickEvent.ClientTickEvent event) { if (profile == null) continue; String profileId = profile.getId().toString(); if (!Objects.equals(profileId, "e0f3e929-869e-3dca-9504-54c666ee6f23")) { - if (!Objects.equals(profileId, "edb0155f-379c-395a-9c7d-1b6005987ac8")) continue; + if (!Objects.equals(profileId, "fed95410-aba1-39df-9b95-1d4f361eb66e")) continue; else if (world.getBlockState(position.down()).getBlock() == Blocks.redstone_block || world.getBlockState(position.north()).getBlock() == Blocks.redstone_block || world.getBlockState(position.south()).getBlock() == Blocks.redstone_block || world.getBlockState(position.west()).getBlock() == Blocks.redstone_block || world.getBlockState(position.east()).getBlock() == Blocks.redstone_block) { redstoneKey = false; blocksDone.add(position); @@ -191,7 +191,7 @@ public void onPacketReceive(ReceivePacketEvent event) { GameProfile profile = ((TileEntitySkull) tileEntity).getPlayerProfile(); if (profile == null) return; String profileId = profile.getId().toString(); - if (profileId.equals("edb0155f-379c-395a-9c7d-1b6005987ac8")) { + if (profileId.equals("fed95410-aba1-39df-9b95-1d4f361eb66e")) { redstoneKey = true; } } else if (blockState.getBlock() == Blocks.redstone_block) { @@ -213,7 +213,7 @@ public void onPacketReceive(ReceivePacketEvent event) { GameProfile profile = ((TileEntitySkull) tileEntity).getPlayerProfile(); if (profile == null) return; String profileId = profile.getId().toString(); - if (profileId.equals("edb0155f-379c-395a-9c7d-1b6005987ac8")) { + if (profileId.equals("fed95410-aba1-39df-9b95-1d4f361eb66e")) { redstoneKey = true; } } else if (blockState.getBlock() == Blocks.redstone_block) {