Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/BentoBoxWorld/Border.git
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
tastybento committed Nov 12, 2023
2 parents 8ffdc7c + 96c0bd3 commit 381cf09
Show file tree
Hide file tree
Showing 14 changed files with 91 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
<version>0.8.10</version>
<configuration>
<append>true</append>
<excludes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private void showPlayer(Player player, int i, int j, int k, boolean max) {
Location l = new Location(player.getWorld(), i, j, k);
Util.getChunkAtAsync(l).thenAccept(c -> {
if (addon.getSettings().isShowParticles()) {
if (j < 0 || j > player.getWorld().getMaxHeight()) {
if (j < player.getWorld().getMinHeight() || j > player.getWorld().getMaxHeight()) {
User.getInstance(player).spawnParticle(max ? MAX_PARTICLE : PARTICLE, PARTICLE_DUST_RED, i + 0.5D, j + 0.0D, k + 0.5D);
} else {
User.getInstance(player).spawnParticle(max ? MAX_PARTICLE : PARTICLE, PARTICLE_DUST_BLUE, i + 0.5D, j + 0.0D, k + 0.5D);
Expand Down
9 changes: 6 additions & 3 deletions src/main/resources/locales/cs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Translation by: CZghost

---
border:
toggle:
description: "přepíná hranice ostrova zapnuto/vypnuto"
description: přepíná hranice ostrova zapnuto/vypnuto
border-on: "&a Hranice zapnuta."
border-off: "&a Hranice vypnuta."
set-type:
description: změní typ ohraničení
changed: "&a Typ ohraničení změněn na &b[type]&a."
error-unavailable-type: "&c Tento typ je nedostupný nebo neexistuje."
10 changes: 10 additions & 0 deletions src/main/resources/locales/hr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
border:
toggle:
description: uključuje/isključuje obrub
border-on: "&a Border omogućen."
border-off: "&a Border onemogućen."
set-type:
description: mijenja vrstu obruba
changed: "&a Vrsta obruba promijenjena je u &b[type]&a."
error-unavailable-type: "&c Ova vrsta je nedostupna ili ne postoji."
4 changes: 4 additions & 0 deletions src/main/resources/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ border:
description: attiva o disattiva il bordo
border-on: "&a Bordo attivato."
border-off: "&c Bordo disattivato."
set-type:
description: cambia il tipo di bordo
changed: "&a Il tipo di bordo è stato modificato in &b[type]&a."
error-unavailable-type: "&c Questo tipo non è disponibile o non esiste."
10 changes: 10 additions & 0 deletions src/main/resources/locales/ja.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
border:
toggle:
description: 境界線のオン/オフを切り替えます
border-on: "&a 境界線が有効です。"
border-off: "&a 境界線が無効になっています。"
set-type:
description: 境界線の種類を変更します
changed: "&a 枠線のタイプが &b[type]&a に変更されました。"
error-unavailable-type: "&c このタイプは使用できないか、存在しません。"
4 changes: 4 additions & 0 deletions src/main/resources/locales/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ border:
description: 월드보더를 키거나 끕니다
border-on: "&a 월드 보더를 활성화 했습니다"
border-off: "&a 월드 보더를 비활성화 했습니다"
set-type:
description: 테두리 유형을 변경합니다.
changed: "&a 테두리 유형이 &b[type]&a로 변경되었습니다."
error-unavailable-type: "&c 이 유형은 사용할 수 없거나 존재하지 않습니다."
10 changes: 10 additions & 0 deletions src/main/resources/locales/nl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
border:
toggle:
description: schakelt de rand in/uit
border-on: "&a Rand ingeschakeld."
border-off: "&a Grens uitgeschakeld."
set-type:
description: verandert het type rand
changed: "&a Randtype gewijzigd in &b[type]&a."
error-unavailable-type: "&c Dit type is niet beschikbaar of bestaat niet."
4 changes: 4 additions & 0 deletions src/main/resources/locales/pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ border:
description: Ativa/Desativa a borda
border-on: "&a Borda ativada."
border-off: "&a Borda desativada."
set-type:
description: muda o tipo da borda
changed: "&a Tipo de borda alterado para &b[type]&a."
error-unavailable-type: "&c Este tipo não está disponível ou não existe."
10 changes: 10 additions & 0 deletions src/main/resources/locales/ro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
border:
toggle:
description: activează/dezactivează chenarul
border-on: "&a Chenar activat."
border-off: "&a Chenar este dezactivată."
set-type:
description: modifică tipul de chenar
changed: "&a Tipul de chenar s-a schimbat în &b[type]&a."
error-unavailable-type: "&c Acest tip este indisponibil sau nu există."
10 changes: 10 additions & 0 deletions src/main/resources/locales/tr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
border:
toggle:
description: kenarlığı açar/kapatır
border-on: "&a Sınır etkin."
border-off: "&a Kenarlık devre dışı."
set-type:
description: kenarlığın türünü değiştirir
changed: "&a Kenarlık türü &b[type]&a olarak değiştirildi."
error-unavailable-type: "&c Bu tür kullanılamıyor veya mevcut değil."
9 changes: 7 additions & 2 deletions src/main/resources/locales/vi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
border:
toggle:
description: bật/tắt hiệu ứng rìa đảo
border-on: '&aĐã bật rìa đảo.'
border-off: '&aĐã tắt rìa đảo.'
border-on: "&aĐã bật rìa đảo."
border-off: "&aĐã tắt rìa đảo."
set-type:
description: thay đổi loại đường viền đảo
changed: "&a Loại đường viền đảo đã thay đổi thành &b[type]&a."
error-unavailable-type: "&c Loại này không có sẵn hoặc không tồn tại."
10 changes: 10 additions & 0 deletions src/main/resources/locales/zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
border:
toggle:
description: 打开/关闭边框
border-on: "&a 启用边框。"
border-off: "&a 边框已禁用。"
set-type:
description: 更改边框的类型
changed: "&a 边框类型更改为 &b[type]&a。"
error-unavailable-type: "&c 此类型不可用或不存在。"
5 changes: 4 additions & 1 deletion src/main/resources/locales/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ border:
description: 開啟/關閉 顯示邊界
border-on: "&a開啟 顯示邊界"
border-off: "&a關閉 顯示邊界"

set-type:
description: 更改邊框的類型
changed: "&a 邊框類型更改為 &b[type]&a。"
error-unavailable-type: "&c 此類型不可用或不存在。"

0 comments on commit 381cf09

Please sign in to comment.