diff --git a/pom.xml b/pom.xml index afcb27c..3453808 100644 --- a/pom.xml +++ b/pom.xml @@ -263,7 +263,7 @@ org.jacoco jacoco-maven-plugin - 0.8.11 + 0.8.10 true diff --git a/src/main/java/world/bentobox/border/listeners/ShowBarrier.java b/src/main/java/world/bentobox/border/listeners/ShowBarrier.java index c866890..7cc0150 100644 --- a/src/main/java/world/bentobox/border/listeners/ShowBarrier.java +++ b/src/main/java/world/bentobox/border/listeners/ShowBarrier.java @@ -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); diff --git a/src/main/resources/locales/cs.yml b/src/main/resources/locales/cs.yml index ab5dd5b..2300c97 100644 --- a/src/main/resources/locales/cs.yml +++ b/src/main/resources/locales/cs.yml @@ -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." diff --git a/src/main/resources/locales/hr.yml b/src/main/resources/locales/hr.yml new file mode 100644 index 0000000..bbc64e3 --- /dev/null +++ b/src/main/resources/locales/hr.yml @@ -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." diff --git a/src/main/resources/locales/it.yml b/src/main/resources/locales/it.yml index 352ee21..0d7a85a 100644 --- a/src/main/resources/locales/it.yml +++ b/src/main/resources/locales/it.yml @@ -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." diff --git a/src/main/resources/locales/ja.yml b/src/main/resources/locales/ja.yml new file mode 100644 index 0000000..4655856 --- /dev/null +++ b/src/main/resources/locales/ja.yml @@ -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 このタイプは使用できないか、存在しません。" diff --git a/src/main/resources/locales/ko.yml b/src/main/resources/locales/ko.yml index 55b802b..c55c503 100644 --- a/src/main/resources/locales/ko.yml +++ b/src/main/resources/locales/ko.yml @@ -4,3 +4,7 @@ border: description: 월드보더를 키거나 끕니다 border-on: "&a 월드 보더를 활성화 했습니다" border-off: "&a 월드 보더를 비활성화 했습니다" + set-type: + description: 테두리 유형을 변경합니다. + changed: "&a 테두리 유형이 &b[type]&a로 변경되었습니다." + error-unavailable-type: "&c 이 유형은 사용할 수 없거나 존재하지 않습니다." diff --git a/src/main/resources/locales/nl.yml b/src/main/resources/locales/nl.yml new file mode 100644 index 0000000..87993ca --- /dev/null +++ b/src/main/resources/locales/nl.yml @@ -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." diff --git a/src/main/resources/locales/pt.yml b/src/main/resources/locales/pt.yml index c1d7185..3a69801 100644 --- a/src/main/resources/locales/pt.yml +++ b/src/main/resources/locales/pt.yml @@ -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." diff --git a/src/main/resources/locales/ro.yml b/src/main/resources/locales/ro.yml new file mode 100644 index 0000000..8371592 --- /dev/null +++ b/src/main/resources/locales/ro.yml @@ -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ă." diff --git a/src/main/resources/locales/tr.yml b/src/main/resources/locales/tr.yml new file mode 100644 index 0000000..547392e --- /dev/null +++ b/src/main/resources/locales/tr.yml @@ -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." diff --git a/src/main/resources/locales/vi.yml b/src/main/resources/locales/vi.yml index e12d921..d7bdaf6 100644 --- a/src/main/resources/locales/vi.yml +++ b/src/main/resources/locales/vi.yml @@ -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." diff --git a/src/main/resources/locales/zh-CN.yml b/src/main/resources/locales/zh-CN.yml new file mode 100644 index 0000000..ecf0f69 --- /dev/null +++ b/src/main/resources/locales/zh-CN.yml @@ -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 此类型不可用或不存在。" diff --git a/src/main/resources/locales/zh-TW.yml b/src/main/resources/locales/zh-TW.yml index 00f8f96..0ffd8e6 100644 --- a/src/main/resources/locales/zh-TW.yml +++ b/src/main/resources/locales/zh-TW.yml @@ -4,4 +4,7 @@ border: description: 開啟/關閉 顯示邊界 border-on: "&a開啟 顯示邊界" border-off: "&a關閉 顯示邊界" - + set-type: + description: 更改邊框的類型 + changed: "&a 邊框類型更改為 &b[type]&a。" + error-unavailable-type: "&c 此類型不可用或不存在。"