mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 11:06:06 -04:00
Fix block permissions being borked on server with ExtendedBlocks but no BlockPermissions CPE extension, fixes #556
This commit is contained in:
parent
79a7aac4a0
commit
d5bfa59816
@ -105,6 +105,7 @@ namespace ClassicalSharp {
|
|||||||
DefinedCustomBlocks = new uint[count >> 5];
|
DefinedCustomBlocks = new uint[count >> 5];
|
||||||
Count = count;
|
Count = count;
|
||||||
SetMaxUsed(count - 1);
|
SetMaxUsed(count - 1);
|
||||||
|
SetDefaultPerms();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SetMaxUsed(int max) {
|
public static void SetMaxUsed(int max) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user