WorldGuard icon indicating copy to clipboard operation
WorldGuard copied to clipboard

Blacklist file wrong month

Open LadyCailinBot opened this issue 9 years ago • 1 comments

WORLDGUARD-3600 - Reported by Androkai

If I log blacklist-output to file the month in file name is always "actual month minus 1"


2015-11-05.log:[2015-12-05 16:45:57] PlayerXY: Tried to break Diamond ore (#56:0) @388,14,203

LadyCailinBot avatar Dec 05 '15 18:12 LadyCailinBot

Comment by wizjany

that's probably because january is 0. http://stackoverflow.com/questions/344380 for whatever reason they decided to 0-index the months. in theory it's easy enough to fix but i dunno if that will start breaking things for anyone who still uses it. if anyone actually uses it.

LadyCailinBot avatar Dec 05 '15 20:12 LadyCailinBot