Update towny hook / fix pattern traverser

This commit is contained in:
Jesse Boyd
2018-08-29 01:04:25 +10:00
parent abd886acd7
commit 418cfa6d03
3 changed files with 27 additions and 31 deletions

View File

@ -1014,6 +1014,7 @@ public enum BlockTypes implements BlockType {
int size = blockMap.size();
for (BlockTypes type : oldValues) {
if (!blockMap.containsKey(type.getId())) {
type.init(type.getId(), 0, new ArrayList<>());
Fawe.debug("Invalid block registered " + type.getId());
size++;
}