mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Ooops
This commit is contained in:
parent
98f645b344
commit
4abc6dd9eb
@ -58,12 +58,13 @@ public class DynamicChunk extends Chunk {
|
||||
final NBTCompound nbt = block.nbt();
|
||||
if (handler != null || nbt != null) {
|
||||
this.entries.put(index, block);
|
||||
// Block tick
|
||||
if (handler != null && handler.isTickable()) {
|
||||
this.tickableMap.put(index, block);
|
||||
}
|
||||
} else {
|
||||
this.entries.remove(index);
|
||||
}
|
||||
// Block tick
|
||||
if (handler != null && handler.isTickable()) {
|
||||
this.tickableMap.put(index, block);
|
||||
} else {
|
||||
this.tickableMap.remove(index);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user