This commit is contained in:
parent
3c54272686
commit
20cd4278ad
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>MiniPlayerTitle</artifactId>
|
||||
<version>3.0.3</version>
|
||||
<version>3.0.4</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>MiniPlayerTitle</name>
|
||||
|
@ -160,7 +160,7 @@ public class TitleManage {
|
||||
MiniPlayerTitle.notification.error(sender, "获取玩家信息时出现错误");
|
||||
return;
|
||||
}
|
||||
if (title.getExpireAt().isBefore(LocalDateTime.now())) {
|
||||
if (title.isExpired()) {
|
||||
MiniPlayerTitle.notification.error(sender, "称号 %s 已过期", title.getTitle().getTitlePlainText());
|
||||
playerInfo.setUsingTitle(null);
|
||||
updateName(player, null);
|
||||
|
Loading…
Reference in New Issue
Block a user