In the interest of debug should show everything, add debug when registering an unknown flag.

This commit is contained in:
dordsor21 2020-05-05 12:57:14 +01:00
parent afe874a59b
commit 9226aaff1f

View file

@ -1973,6 +1973,7 @@ public class SQLManager implements AbstractDB {
final PlotFlag<?, ?> plotFlag =
GlobalFlagContainer.getInstance().getFlagFromString(flag);
if (plotFlag == null) {
PlotSquared.debug("Adding unknown flag to plot with ID " + id);
plot.getFlagContainer().addUnknownFlag(flag, value);
} else {
try {