Merge branch 'development'
This commit is contained in:
commit
ea2778d1d6
6
pom.xml
6
pom.xml
|
@ -2,7 +2,7 @@
|
|||
<groupId>com.songoda</groupId>
|
||||
<artifactId>EpicHeads</artifactId>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>3.2.9</version>
|
||||
<version>3.2.10</version>
|
||||
<build>
|
||||
<defaultGoal>clean install</defaultGoal>
|
||||
<finalName>EpicHeads-${project.version}</finalName>
|
||||
|
@ -85,6 +85,10 @@
|
|||
<id>private</id>
|
||||
<url>https://repo.songoda.com/artifactory/private/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>public</id>
|
||||
<url>https://repo.songoda.com/artifactory/public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
|
|
|
@ -33,7 +33,12 @@ public class ItemListeners implements Listener {
|
|||
|
||||
if (encodededStr == null) return;
|
||||
|
||||
String url = ItemUtils.getDecodedTexture(encodededStr);
|
||||
String url;
|
||||
try {
|
||||
url = ItemUtils.getDecodedTexture(encodededStr);
|
||||
} catch (Exception ignored) {
|
||||
return; // If reached the head was generated by another incompatible plugin.
|
||||
}
|
||||
|
||||
if (url == null) return;
|
||||
Optional<Head> optional = plugin.getHeadManager().getHeads().stream()
|
||||
|
|
Loading…
Reference in New Issue