소스 검색

Removing outdated team buff/nerf

RedstoneFuture 1 년 전
부모
커밋
a4e60e983c

+ 0 - 2
missilewars-plugin/src/main/java/de/butzlabben/missilewars/configuration/Messages.java

@@ -148,8 +148,6 @@ public class Messages {
         TEAM_PLAYER_MAX_REACHED("team.player.max_reached", "&cThe maximum number of players has been reached."),
         TEAM_SPECTATOR_MAX_REACHED("team.spectator.max_reached", "&cThe maximum number of spectators has been reached."),
         TEAM_ALL_TEAMMATES_OFFLINE("team.all_teammates_offline", "&7Everyone from %team% &7is offline."),
-        TEAM_TEAM_BUFFED("team.team_buffed", "%team% &7was buffed as one player left the team."),
-        TEAM_TEAM_NERVED("team.team_nerved", "%team% &7was nerved as one player joined the team."),
         TEAM_HURT_TEAMMATES("team.hurt_teammates", "&cYou must not hurt your teammates."),
 
         ARENA_ARENA_LEAVE("arena.arena_leave", "&cYou are not allowed to leave the arena."),

+ 0 - 10
missilewars-plugin/src/main/java/de/butzlabben/missilewars/game/Team.java

@@ -249,15 +249,5 @@ public class Team {
                 break;
         }
     }
-
-    // TODO Add new team buffer
-    public void updateIntervals(int newInterval) {
-        if (newInterval < currentInterval && currentInterval != 0) {
-            getGame().broadcast(Messages.getMessage(true, Messages.MessageEnum.TEAM_TEAM_BUFFED).replace("%team%", getFullname()));
-        }
-        if (newInterval > currentInterval && currentInterval != 0) {
-            getGame().broadcast(Messages.getMessage(true, Messages.MessageEnum.TEAM_TEAM_NERVED).replace("%team%", getFullname()));
-        }
-    }
     
 }