9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-29 20:09:13 +00:00

clean: remove barely used text emote feature

This commit is contained in:
LoJoSho
2023-12-22 22:09:22 -06:00
parent 9ff6d3f60c
commit 15234a904f
10 changed files with 2 additions and 155 deletions

View File

@@ -12,8 +12,6 @@ import java.util.List;
public interface HMCCNMSHandler {
Entity spawnDisplayEntity(Location location, String text);
void slotUpdate(
Player player,
int slot

View File

@@ -49,7 +49,8 @@ public class UserEmoteManager {
}
// Show the text
if (text != null && textEntity == null) {
textEntity = HMCCNMSHandlers.getHandler().spawnDisplayEntity(user.getPlayer().getLocation().add(0, 3, 0), text);
// removed in 2.7.0
//textEntity = HMCCNMSHandlers.getHandler().spawnDisplayEntity(user.getPlayer().getLocation().add(0, 3, 0), text);
}
} catch (Exception e) {
e.printStackTrace();