mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 08:18:35 +00:00
brush settings
This commit is contained in:
@ -57,13 +57,13 @@ public class CharBlocks implements IBlocks {
|
||||
|
||||
public char get(final int x, final int y, final int z) {
|
||||
final int layer = y >> 4;
|
||||
final int index = ((y & 15) << 8) | (z << 4) | (x & 15);
|
||||
final int index = ((y & 15) << 8) | (z << 4) | (x);
|
||||
return sections[layer].get(this, layer, index);
|
||||
}
|
||||
|
||||
public void set(final int x, final int y, final int z, final char value) {
|
||||
final int layer = y >> 4;
|
||||
final int index = ((y & 15) << 8) | (z << 4) | (x & 15);
|
||||
final int index = ((y & 15) << 8) | (z << 4) | (x);
|
||||
set(layer, index, value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user