Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit e086576

Browse files
committed
1.13
1 parent e4cb45d commit e086576

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ configurations.all {
1010
// Note the spaces before and after the equals sign
1111
ext.majorVersion = 6
1212
ext.minorVersion = 0
13-
ext.minecraftVersion = "1.13-pre7"
13+
ext.minecraftVersion = "1.13"
1414

1515
sourceCompatibility = 1.8
1616
targetCompatibility = 1.8
@@ -54,7 +54,7 @@ repositories {
5454
}
5555

5656
dependencies {
57-
compile 'org.spigotmc:spigot-api:1.13-pre7-R0.1-SNAPSHOT'
57+
compile 'org.spigotmc:spigot-api:1.13-R0.1-SNAPSHOT'
5858
compile 'net.milkbowl.vault:VaultAPI:1.6'
5959
compile 'cat.nyaa:nyaacore:6.0-SNAPSHOT'
6060
compile('net.ess3:Essentials:2.13-SNAPSHOT') {

src/main/java/cat/nyaa/HamsterEcoHelper/utils/MiscUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ public static Material getMaterial(String name) {
9191
return Material.matchMaterial(name);
9292
}
9393

94+
@SuppressWarnings("deprecation")
9495
public static Material getMaterial(String name, CommandSender sender) {
9596
Material m = Material.matchMaterial(name, false);
9697
if (m == null) {
9798
m = Material.matchMaterial(name, true);
9899
if (m != null) {
99-
//noinspection deprecation
100100
m = Bukkit.getUnsafe().fromLegacy(m);
101101
sender.sendMessage(I18n.instance.getFormatted("user.warn.legacy_name", name, m.toString()));
102102
}

0 commit comments

Comments
 (0)