Skip to content

Commit

Permalink
Fixes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
Fido2603 committed Sep 16, 2019
1 parent 181a932 commit 7fb7c33
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 58 deletions.
20 changes: 0 additions & 20 deletions .classpath

This file was deleted.

19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,23 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# Libs and stuff
/bukkit
/lib
/jar
dependency-reduced-pom.xml

# Eclipse Core
/bin

# JDT-specific (Eclipse Java Development Tools)
.classpath
.project
/.settings/

# IDEA-specific
/.idea/

# Maven build
/target/
23 changes: 0 additions & 23 deletions .project

This file was deleted.

4 changes: 0 additions & 4 deletions .settings/org.eclipse.core.resources.prefs

This file was deleted.

6 changes: 0 additions & 6 deletions .settings/org.eclipse.jdt.core.prefs

This file was deleted.

4 changes: 0 additions & 4 deletions .settings/org.eclipse.m2e.core.prefs

This file was deleted.

2 changes: 1 addition & 1 deletion src/dk/fido2603/mydog/MyDog.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public void loadSettings()
this.onlyShowNametagOnHover = config.getBoolean("DogSettings.OnlyShowNametagOnHover", false);
this.allowPlayerKillExp = config.getBoolean("DogSettings.AllowPlayerKillExp", true);
this.allowNametagRename = config.getBoolean("DogSettings.AllowNametagRename", true);
if (config.contains("DogSettings.DogNames"))
if (config.contains("DogSettings.DogNames") && !config.getStringList("DogSettings.DogNames").isEmpty())
{
this.dogNames = config.getStringList("DogSettings.DogNames");
}
Expand Down

0 comments on commit 7fb7c33

Please sign in to comment.