Fix block permissions being borked on server with ExtendedBlocks but no BlockPermissions CPE extension, fixes #556

This commit is contained in:
UnknownShadow200 2018-12-26 10:24:36 +11:00
parent 79a7aac4a0
commit d5bfa59816

View File

@ -105,6 +105,7 @@ namespace ClassicalSharp {
DefinedCustomBlocks = new uint[count >> 5];
Count = count;
SetMaxUsed(count - 1);
SetDefaultPerms();
}
public static void SetMaxUsed(int max) {