mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-09-30 08:07:29 +02:00
Allow No identifier
This commit is contained in:
parent
83aa79deed
commit
6ae22cf752
@ -15,7 +15,11 @@ public class DestinationFactory {
|
||||
}
|
||||
|
||||
public Destination getDestination(String dest) {
|
||||
String idenChar = dest.substring(0, 1);
|
||||
String idenChar = "";
|
||||
if(dest.split(":").length > 1) {
|
||||
idenChar = dest.substring(0, 1);
|
||||
}
|
||||
|
||||
if (this.destList.containsKey(idenChar)) {
|
||||
Class<? extends Destination> myClass = this.destList.get(idenChar);
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user