Skip to content

Commit

Permalink
update message receive distance to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
Clizo1209 committed Aug 5, 2024
1 parent a21d3b3 commit d6bc5a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Base on Minecraft Spigot API 1.13
### 三、禁用命令“/msg”私聊

### 四、发言内容距离可见(当前值为100
### 四、发言内容距离可见(当前值为50
- [Team.秦始皇] ATRI(12.5) >> 芝士雪豹
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>top.sducraft</groupId>
<artifactId>SDUCS</artifactId>
<version>0.2.0.0</version>
<version>0.2.0.1</version>
<packaging>jar</packaging>

<name>SDUCS</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void AsyncPlayerChat(AsyncPlayerChatEvent e){
Location loc =p.getLocation();
if (loc.getWorld().equals(player.getWorld())){
double d=loc.distance(player.getLocation());
if (d <= 100){
if (d <= 50){
p.sendMessage(msg+ String.format("%.1f", d)+") >> " + message);
}
}
Expand Down

0 comments on commit d6bc5a5

Please sign in to comment.