Add Readme
Missed null check
This commit is contained in:
parent
fcdd59efe3
commit
3a05a15ac6
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.github.judgetread</groupId>
|
||||
<artifactId>GriefPreventionQuickShopBridge</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.1</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
@ -56,6 +56,10 @@ public class GriefPreventionListener implements Listener {
|
||||
* @param claim A GriefPrevention claim
|
||||
*/
|
||||
private void deleteAllShopsInClaim(final Claim claim) {
|
||||
if(claim == null){
|
||||
return;
|
||||
}
|
||||
|
||||
Iterator<Shop> bIt = ((QuickShop) plugin.getQuickShop()).getShopManager().getShopIterator();
|
||||
|
||||
if (bIt == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user