This repository was archived by the owner on Mar 8, 2022. It is now read-only.
Commit e086576 1 parent e4cb45d commit e086576 Copy full SHA for e086576
File tree 2 files changed +3
-3
lines changed
src/main/java/cat/nyaa/HamsterEcoHelper/utils
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ configurations.all {
10
10
// Note the spaces before and after the equals sign
11
11
ext. majorVersion = 6
12
12
ext. minorVersion = 0
13
- ext. minecraftVersion = " 1.13-pre7 "
13
+ ext. minecraftVersion = " 1.13"
14
14
15
15
sourceCompatibility = 1.8
16
16
targetCompatibility = 1.8
@@ -54,7 +54,7 @@ repositories {
54
54
}
55
55
56
56
dependencies {
57
- compile ' org.spigotmc:spigot-api:1.13-pre7- R0.1-SNAPSHOT'
57
+ compile ' org.spigotmc:spigot-api:1.13-R0.1-SNAPSHOT'
58
58
compile ' net.milkbowl.vault:VaultAPI:1.6'
59
59
compile ' cat.nyaa:nyaacore:6.0-SNAPSHOT'
60
60
compile(' net.ess3:Essentials:2.13-SNAPSHOT' ) {
Original file line number Diff line number Diff line change @@ -91,12 +91,12 @@ public static Material getMaterial(String name) {
91
91
return Material .matchMaterial (name );
92
92
}
93
93
94
+ @ SuppressWarnings ("deprecation" )
94
95
public static Material getMaterial (String name , CommandSender sender ) {
95
96
Material m = Material .matchMaterial (name , false );
96
97
if (m == null ) {
97
98
m = Material .matchMaterial (name , true );
98
99
if (m != null ) {
99
- //noinspection deprecation
100
100
m = Bukkit .getUnsafe ().fromLegacy (m );
101
101
sender .sendMessage (I18n .instance .getFormatted ("user.warn.legacy_name" , name , m .toString ()));
102
102
}
You can’t perform that action at this time.
0 commit comments