Release 1.4.7: bugfix for exception triggered by blank cape URL
This commit is contained in:
		@@ -169,8 +169,16 @@ public class SpoutFeatures {
 | 
			
		||||
			else if (relation.isAlly()) {
 | 
			
		||||
				cape = Conf.capeAlly;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if (cape.isEmpty()) {
 | 
			
		||||
				spoutApp.resetPlayerCloak(sPlayer, viewed);
 | 
			
		||||
			} else {
 | 
			
		||||
				spoutApp.setPlayerCloak(sPlayer, viewed, cape);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		else if (Conf.spoutFactionAdminCapes || Conf.spoutFactionModeratorCapes) {
 | 
			
		||||
			spoutApp.resetPlayerCloak(sPlayer, viewed);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
name: Factions
 | 
			
		||||
version: 1.4.6
 | 
			
		||||
version: 1.4.7
 | 
			
		||||
main: com.massivecraft.factions.Factions
 | 
			
		||||
softdepend:
 | 
			
		||||
  - Permissions
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user