| Commit message (Collapse) | Author | Files | Lines |
|
|
|
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
|
|
* Don't let redstone blocks power adjacent blocks.
This fixes issue #2966
|
|
* Improvements to performance? Maybe. Can't hurt (he says).
|
|
When a new block was placed that has a corresponding RedstoneHandler the PowerData for the position was cached, but never deleted and remained unchanged when the block got destroyed. The RedstoneSimulator now erases all cached PowerData for positions where the block doesn't have a RedstoneHandler (i.e. Air).
|
|
|
|
|
|
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan!
* Uses classes and inheritance now
* Speed should be improved
|