mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
Catch Null Pointer
This commit is contained in:
1 parent
41c4fc66d0
commit
8842fdfbf6
1 file changed
+3
@@ -166,6 +166,9 @@ public class GuiNpcMobSpawner extends GuiNPCInterface implements IScrollData,IGu
|
||||
}
|
||||
|
||||
private List<String> getSearchList(){
|
||||
if(this.list == null){
|
||||
this.list = new ArrayList<String>();
|
||||
}
|
||||
// No Search // No Filters
|
||||
if(search.isEmpty() && filter.size() == 0)
|
||||
return new ArrayList<String>(list);
|
||||
|
||||
Reference in new issue
Block a user