mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-10-31 15:49:48 +01:00
Update to QuartzLib 0.0.3 + upgraded outdated QL API calls
This commit is contained in:
parent
502b4615f0
commit
d4b08d9bf6
4
pom.xml
4
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>fr.moribus</groupId>
|
||||
<artifactId>ImageOnMap</artifactId>
|
||||
<version>4.1.1</version>
|
||||
<version>4.1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
@ -98,7 +98,7 @@
|
||||
<dependency>
|
||||
<groupId>fr.zcraft</groupId>
|
||||
<artifactId>quartzlib</artifactId>
|
||||
<version>0.0.3</version>
|
||||
<version>0.0.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bstats</groupId>
|
||||
|
@ -74,16 +74,16 @@ public class MapListGui extends ExplorerGui<ImageMap> {
|
||||
String mapDescription;
|
||||
if (map instanceof SingleMap) {
|
||||
/// Displayed subtitle description of a single map on the list GUI
|
||||
mapDescription = I.t(getPlayerLocale(), "{white}Single map");
|
||||
mapDescription = I.tl(getPlayerLocale(), "{white}Single map");
|
||||
} else {
|
||||
PosterMap poster = (PosterMap) map;
|
||||
if (poster.hasColumnData()) {
|
||||
/// Displayed subtitle description of a poster map on the list GUI (columns × rows in english)
|
||||
mapDescription = I.t(getPlayerLocale(), "{white}Poster map ({0} × {1})", poster.getColumnCount(),
|
||||
mapDescription = I.tl(getPlayerLocale(), "{white}Poster map ({0} × {1})", poster.getColumnCount(),
|
||||
poster.getRowCount());
|
||||
} else {
|
||||
/// Displayed subtitle description of a poster map without column data on the list GUI
|
||||
mapDescription = I.t(getPlayerLocale(), "{white}Poster map ({0} parts)", poster.getMapCount());
|
||||
mapDescription = I.tl(getPlayerLocale(), "{white}Poster map ({0} parts)", poster.getMapCount());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: ImageOnMap
|
||||
main: fr.moribus.imageonmap.ImageOnMap
|
||||
version: "4.1.1"
|
||||
version: "4.1.2"
|
||||
api-version: "1.13"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user