mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2025-12-19 15:09:23 +00:00
Update NameplatesForcePreviewCommand.java
This commit is contained in:
@@ -74,7 +74,7 @@ public class NameplatesForcePreviewCommand extends BukkitCommandFeature<CommandS
|
||||
|
||||
int time = (int) context.optional("time").orElse(plugin.getUnlimitedTagManager().previewDuration());
|
||||
|
||||
String previousNameplate = player.currentNameplate();
|
||||
String previousNameplate = player.nameplateData();
|
||||
if (specified) {
|
||||
player.setCurrentNameplate(optionalNameplate.get());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user