mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-01-25 21:41:19 +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>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.TheBusyBiscuit</groupId>
|
<groupId>com.github.slimefun</groupId>
|
||||||
<artifactId>Slimefun4</artifactId>
|
<artifactId>Slimefun4</artifactId>
|
||||||
<version>RC-21</version>
|
<version>RC-22</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!--<dependency>
|
<!--<dependency>
|
||||||
|
@ -23,9 +23,9 @@ public class SlimefunPluginItem extends PluginItem {
|
|||||||
try {
|
try {
|
||||||
SlimefunItem sfItem = SlimefunItem.getByItem(item);
|
SlimefunItem sfItem = SlimefunItem.getByItem(item);
|
||||||
if (sfItem != null) {
|
if (sfItem != null) {
|
||||||
return sfItem.getID().equalsIgnoreCase(getItemId());
|
return sfItem.getId().equalsIgnoreCase(getItemId());
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Exception | LinkageError e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
P.p.errorLog("Could not check Slimefun for Item ID");
|
P.p.errorLog("Could not check Slimefun for Item ID");
|
||||||
BConfig.hasSlimefun = false;
|
BConfig.hasSlimefun = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user