This commit is contained in:
Daniel Mills
2021-07-16 02:11:41 -04:00
parent da53a7d469
commit 22387b2610
148 changed files with 266 additions and 177 deletions

View File

@@ -16,8 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util;
package com.volmit.iris.util.board;
import com.volmit.iris.util.format.C;
import lombok.NonNull;
import lombok.Setter;
import org.bukkit.Bukkit;
@@ -127,8 +128,8 @@ public class Board {
team.setSuffix(entry.getSuffix());
switch (boardSettings.getScoreDirection()) {
case UP -> objective.getScore(team.getName()).setScore(1 + i);
case DOWN -> objective.getScore(team.getName()).setScore(15 - i);
case ScoreDirection.UP -> objective.getScore(team.getName()).setScore(1 + i);
case ScoreDirection.DOWN -> objective.getScore(team.getName()).setScore(15 - i);
}
}
}

View File

@@ -16,8 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util;
package com.volmit.iris.util.board;
import com.volmit.iris.util.format.C;
import lombok.Getter;
import org.apache.commons.lang.StringUtils;

View File

@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util;
package com.volmit.iris.util.board;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

View File

@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util;
package com.volmit.iris.util.board;
import org.bukkit.entity.Player;

View File

@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util;
package com.volmit.iris.util.board;
import lombok.Builder;
import lombok.Getter;

View File

@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util;
package com.volmit.iris.util.board;
import lombok.RequiredArgsConstructor;
import org.bukkit.Bukkit;

View File

@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util;
package com.volmit.iris.util.board;
/**
* @author Missionary (missionarymc@gmail.com)