mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-21 18:15:32 +01:00
Update locale library, fixes #2099
This commit is contained in:
parent
85d0f035a6
commit
b2b20144d0
@ -154,7 +154,7 @@
|
||||
<dependency>
|
||||
<groupId>com.github.PikaMug</groupId>
|
||||
<artifactId>LocaleLib</artifactId>
|
||||
<version>3.2</version>
|
||||
<version>3.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>xyz.upperlevel.spigot.book</groupId>
|
||||
|
@ -186,12 +186,12 @@ public class ItemListener implements Listener {
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean isWaterBottle(ItemStack item) {
|
||||
public boolean isWaterBottle(final ItemStack item) {
|
||||
if (item == null) {
|
||||
return false;
|
||||
}
|
||||
if (item.getType().equals(Material.POTION)) {
|
||||
PotionMeta meta = (PotionMeta) item.getItemMeta();
|
||||
final PotionMeta meta = (PotionMeta) item.getItemMeta();
|
||||
if (meta == null) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user