Skip to content

Commit

Permalink
关闭tips信息后不操作玩家名片
Browse files Browse the repository at this point in the history
  • Loading branch information
lt-name committed Aug 16, 2023
1 parent 5467116 commit b3a7326
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>cn.lanink</groupId>
<artifactId>MemoriesOfTime-GameCore</artifactId>
<version>1.6.11<!-- -SNAPSHOT--></version>
<version>1.6.12-SNAPSHOT</version>

<name>MemoriesOfTime-GameCore</name>
<description>MemoriesOfTime-GameCore -- A dependency</description>
Expand Down Expand Up @@ -292,7 +292,7 @@
<dependency>
<groupId>com.smallaswater.tips</groupId>
<artifactId>Tips</artifactId>
<version>2.1.2</version>
<version>2.1.7</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/cn/lanink/gamecore/utils/Tips.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private void closeTipsShowInternal(@NotNull String level, @NotNull String player
);
Api.setPlayerShowMessage(
playerName,
new NameTagMessage(level, true, "")
new NameTagMessage(level, false, "")
);
Api.setPlayerShowMessage(
playerName,
Expand All @@ -77,7 +77,7 @@ private void closeTipsShowInternal(@NotNull String level, @NotNull String player
);
Api.setPlayerShowMessage(
playerName,
new tip.messages.NameTagMessage(level, true, "")
new tip.messages.NameTagMessage(level, false, "")
);
Api.setPlayerShowMessage(
playerName,
Expand Down Expand Up @@ -109,7 +109,7 @@ private void removeTipsConfigInternal(@NotNull String level, @NotNull String pla
);
Api.removePlayerShowMessage(
playerName,
new NameTagMessage(level, true, "")
new NameTagMessage(level, false, "")
);
Api.removePlayerShowMessage(
playerName,
Expand All @@ -127,7 +127,7 @@ private void removeTipsConfigInternal(@NotNull String level, @NotNull String pla
);
Api.removePlayerShowMessage(
playerName,
new tip.messages.NameTagMessage(level, true, "")
new tip.messages.NameTagMessage(level, false, "")
);
Api.removePlayerShowMessage(
playerName,
Expand Down

0 comments on commit b3a7326

Please sign in to comment.