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