mirror of
https://github.com/songoda/EpicBuckets.git
synced 2024-11-15 14:55:18 +01:00
Extra internal methods
This commit is contained in:
parent
711ca8035d
commit
46b7903cd5
4
pom.xml
4
pom.xml
@ -2,7 +2,7 @@
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>EpicBuckets</artifactId>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>1.4</version>
|
||||
<version>1.4.1</version>
|
||||
<build>
|
||||
<defaultGoal>clean package</defaultGoal>
|
||||
<plugins>
|
||||
@ -122,7 +122,7 @@
|
||||
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>3_aikar</id>
|
||||
<id>33_aikar</id>
|
||||
<url>https://repo.aikar.co/content/groups/aikar/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
|
@ -108,7 +108,10 @@ public class Shop {
|
||||
|
||||
public SubShop getSubShop(XMaterial mat) {
|
||||
for (SubShop subShop : subShops.values()) {
|
||||
if (subShop.getGenItem().isSimilar(mat.parseItem())) return subShop;
|
||||
if (subShop.getGenItem().getType() == mat.parseMaterial() &&
|
||||
subShop.getGenItem().getTypeId() == mat.parseItem().getTypeId()) {
|
||||
return subShop;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: EpicBuckets
|
||||
version: 1.4
|
||||
version: 1.4.1
|
||||
description: Generate walls fast and efficient with beautiful guis!
|
||||
author: Songoda
|
||||
main: com.songoda.epicbuckets.EpicBuckets
|
||||
|
Loading…
Reference in New Issue
Block a user