Updated Slimefun integration

This commit is contained in:
TheBusyBiscuit 2021-05-03 11:55:26 +02:00
parent 3166f8c81b
commit 92cc4920ef
2 changed files with 3 additions and 3 deletions

View File

@ -252,9 +252,9 @@
</exclusions>
</dependency>
<dependency>
<groupId>com.github.TheBusyBiscuit</groupId>
<groupId>com.github.slimefun</groupId>
<artifactId>Slimefun4</artifactId>
<version>RC-21</version>
<version>RC-22</version>
<scope>provided</scope>
</dependency>
<!--<dependency>

View File

@ -23,7 +23,7 @@ public class SlimefunPluginItem extends PluginItem {
try {
SlimefunItem sfItem = SlimefunItem.getByItem(item);
if (sfItem != null) {
return sfItem.getID().equalsIgnoreCase(getItemId());
return sfItem.getId().equalsIgnoreCase(getItemId());
}
} catch (Throwable e) {
e.printStackTrace();