diff options
| author | anhgelus <anhgelus.morhtuuzh@proton.me> | 2024-07-27 00:14:20 +0000 |
|---|---|---|
| committer | anhgelus <anhgelus.morhtuuzh@proton.me> | 2024-07-27 00:14:20 +0000 |
| commit | 297ff7a66ea246203b862bd8970dfe54b75a0e52 (patch) | |
| tree | ccc8b08f5df2cbf5febd93b3a46ecd89b743435c /src/main | |
| parent | e0d263ba917180d4d5d70a28114576b1602a0965 (diff) | |
fix(compass): partial fix of updateCompass
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/java/world/anhgelus/manhunt/Manhunt.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/world/anhgelus/manhunt/Manhunt.java b/src/main/java/world/anhgelus/manhunt/Manhunt.java index 181b3d9..e7ed6a5 100644 --- a/src/main/java/world/anhgelus/manhunt/Manhunt.java +++ b/src/main/java/world/anhgelus/manhunt/Manhunt.java @@ -121,7 +121,7 @@ public class Manhunt implements ModInitializer { for (final UUID uuid : hunters) {
final ServerPlayerEntity hunter = pm.getPlayer(uuid);
if (hunter == null) continue;
- final ServerPlayerEntity tracked = pm.getPlayer(uuid);
+ final ServerPlayerEntity tracked = pm.getPlayer(map.get(uuid));
if (tracked == null) continue;
updateCompass(hunter, tracked);
}
|
