mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2025-02-02 20:51:22 +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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>fr.moribus</groupId>
|
<groupId>fr.moribus</groupId>
|
||||||
<artifactId>ImageOnMap</artifactId>
|
<artifactId>ImageOnMap</artifactId>
|
||||||
<version>4.1.1</version>
|
<version>4.1.2</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@ -98,7 +98,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>fr.zcraft</groupId>
|
<groupId>fr.zcraft</groupId>
|
||||||
<artifactId>quartzlib</artifactId>
|
<artifactId>quartzlib</artifactId>
|
||||||
<version>0.0.3</version>
|
<version>0.0.4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bstats</groupId>
|
<groupId>org.bstats</groupId>
|
||||||
|
@ -74,16 +74,16 @@ public class MapListGui extends ExplorerGui<ImageMap> {
|
|||||||
String mapDescription;
|
String mapDescription;
|
||||||
if (map instanceof SingleMap) {
|
if (map instanceof SingleMap) {
|
||||||
/// Displayed subtitle description of a single map on the list GUI
|
/// 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 {
|
} else {
|
||||||
PosterMap poster = (PosterMap) map;
|
PosterMap poster = (PosterMap) map;
|
||||||
if (poster.hasColumnData()) {
|
if (poster.hasColumnData()) {
|
||||||
/// Displayed subtitle description of a poster map on the list GUI (columns × rows in english)
|
/// 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());
|
poster.getRowCount());
|
||||||
} else {
|
} else {
|
||||||
/// Displayed subtitle description of a poster map without column data on the list GUI
|
/// 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
|
name: ImageOnMap
|
||||||
main: fr.moribus.imageonmap.ImageOnMap
|
main: fr.moribus.imageonmap.ImageOnMap
|
||||||
version: "4.1.1"
|
version: "4.1.2"
|
||||||
api-version: "1.13"
|
api-version: "1.13"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user