Dans-Plugins / Medieval-Factions

Allows players to organize themselves into feudal, diplomatic, lawful groups akin to nations.
https://www.spigotmc.org/resources/medieval-factions.79941/
GNU General Public License v3.0
49 stars 33 forks source link

Fixed power insufficiency check #1785

Closed dmccoystephenson closed 2 months ago

dmccoystephenson commented 8 months ago

Problem

When a faction has 0 power and 1 claim, they cannot be conquered.

Solution

The power insufficiency check has been modified to use 'less than or equals' instead of 'less than'.

Testing

This was tested locally using the project's Dockerfile to spin up a container.

Relevant Issue

Closes #1730