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:
@@ -12,8 +12,6 @@ import java.util.List;
|
||||
|
||||
public interface HMCCNMSHandler {
|
||||
|
||||
Entity spawnDisplayEntity(Location location, String text);
|
||||
|
||||
void slotUpdate(
|
||||
Player player,
|
||||
int slot
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user