mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2024-12-20 01:06:31 +08:00
优化了粒子渲染性能、取消了进入离开领地的系统提示
This commit is contained in:
parent
cd9e3856a1
commit
53d010bdab
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>Dominion</artifactId>
|
||||
<version>1.26.2-beta</version>
|
||||
<version>1.26.3-beta</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Dominion</name>
|
||||
|
@ -123,11 +123,11 @@ public class Cache {
|
||||
if (dominion != null) {
|
||||
if (!isInDominion(dominion, player)) {
|
||||
if (dominion.isTopDom()) {
|
||||
Dominion.notification.info(player, "您已离开领地:%s", dominion.getName());
|
||||
// Dominion.notification.info(player, "您已离开领地:%s", dominion.getName());
|
||||
player.sendMessage(Component.text(dominion.getLeaveMessage()));
|
||||
dominion = null;
|
||||
} else {
|
||||
Dominion.notification.info(player, "您已离开子领地:%s", dominion.getName());
|
||||
// Dominion.notification.info(player, "您已离开子领地:%s", dominion.getName());
|
||||
player.sendMessage(Component.text(dominion.getLeaveMessage()));
|
||||
dominion = id_dominions.get(dominion.getParentDomId());
|
||||
}
|
||||
@ -139,7 +139,7 @@ public class Cache {
|
||||
DominionDTO child = id_dominions.get(child_id);
|
||||
if (isInDominion(child, player)) {
|
||||
dominion = child;
|
||||
Dominion.notification.info(player, "您正在进入子领地:%s", dominion.getName());
|
||||
// Dominion.notification.info(player, "您正在进入子领地:%s", dominion.getName());
|
||||
player.sendMessage(Component.text(dominion.getJoinMessage()));
|
||||
update_player_current_dominion(player, dominion);
|
||||
break;
|
||||
@ -151,7 +151,7 @@ public class Cache {
|
||||
List<DominionDTO> in_dominions = getDominionsParentAndChildren(player.getLocation());
|
||||
if (in_dominions.size() != 0) {
|
||||
dominion = in_dominions.get(0);
|
||||
Dominion.notification.info(player, "您正在进入领地:%s", dominion.getName());
|
||||
// Dominion.notification.info(player, "您正在进入领地:%s", dominion.getName());
|
||||
player.sendMessage(Component.text(dominion.getJoinMessage()));
|
||||
}
|
||||
update_player_current_dominion(player, dominion);
|
||||
|
Loading…
Reference in New Issue
Block a user