9
0
mirror of https://github.com/GeyserExtensionists/GeyserUtils.git synced 2025-12-19 15:09:24 +00:00
This commit is contained in:
zimzaza4
2024-07-21 23:19:29 +08:00
parent 2963aa7057
commit 8e2b5cd1fc

View File

@@ -75,8 +75,8 @@ public class PlayerUtils {
EntityUtils.sendCustomColor(player, entity.getEntityId(), color); EntityUtils.sendCustomColor(player, entity.getEntityId(), color);
} }
public static void setCustomEntity(Player player, Entity entity, String def) { public static void setCustomEntity(Player player, int id, String def) {
EntityUtils.setCustomEntity(player, entity.getEntityId(), def); EntityUtils.setCustomEntity(player, id, def);
} }
// (yes I'm aware it's "horrible" code), also this aint player packets at all lmao // (yes I'm aware it's "horrible" code), also this aint player packets at all lmao