8.10.3 release

This commit is contained in:
mfnalex 2020-06-14 04:43:29 +02:00
parent 699b50410d
commit fa898f66f4
4 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,7 @@
# Changelog
## 8.10.3
- Fixed exception when using the left-/right-click hotkey while using PaperMC instead of Spigot
## 8.10.2
- Fixed exception on versions prior to 1.11

View File

@ -9,7 +9,7 @@
<name>JeffChestSort</name>
<url>https://www.chestsort.de</url>
<description>Automatically sorts your chests!</description>
<version>8.10.2</version>
<version>8.10.3</version>
<packaging>jar</packaging>
<properties>

View File

@ -21,7 +21,7 @@ public class LlamaUtils {
}
public static boolean belongsToLlama(Inventory inv) {
if(inv.getHolder() != null && inv.getHolder().getClass().getName().endsWith("CraftLlama")) {
if(inv != null && inv.getHolder() != null && inv.getHolder().getClass().getName().endsWith("CraftLlama")) {
return true;
}
return false;

View File

@ -1,6 +1,6 @@
main: de.jeff_media.ChestSort.ChestSortPlugin
name: ChestSort
version: 8.10.2
version: 8.10.3
api-version: 1.13
description: Allows automatic chest sorting
author: mfnalex