mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-01-08 19:07:36 +01:00
Merge pull request #408 from TheBusyBiscuit/update/slimefun
Updated Slimefun integration
This commit is contained in:
commit
323e19eac0
4
pom.xml
4
pom.xml
@ -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>
|
||||
|
@ -23,9 +23,9 @@ 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) {
|
||||
} catch (Exception | LinkageError e) {
|
||||
e.printStackTrace();
|
||||
P.p.errorLog("Could not check Slimefun for Item ID");
|
||||
BConfig.hasSlimefun = false;
|
||||
|
Loading…
Reference in New Issue
Block a user