mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-09-29 23:57:36 +02:00
Merge branch 'master' into spigot
This commit is contained in:
commit
3710b5e0c5
@ -101,12 +101,11 @@ public class PortalManager {
|
||||
public AdvancedPortal createPortal(String name, PlayerContainer player, ArrayList<DataTag> tags) throws PortalException {
|
||||
if (this.portalSelectorLeftClick.containsKey(player.getUUID().toString())
|
||||
&& this.portalSelectorRightClick.containsKey(player.getUUID().toString())) {
|
||||
this.createPortal(name, player, this.portalSelectorLeftClick.get(player.getUUID().toString()),
|
||||
return this.createPortal(name, player, this.portalSelectorLeftClick.get(player.getUUID().toString()),
|
||||
this.portalSelectorRightClick.get(player.getUUID().toString()), tags);
|
||||
} else {
|
||||
throw new PortalException("portal.invalidselection");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user