This commit is contained in:
TheMode 2021-07-10 20:30:35 +02:00
parent 98f645b344
commit 4abc6dd9eb

View File

@ -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);
}
}