WirelessRedstone-CBE
11 merged pull requests.
Bug Fixes
- #25 RedstoneEther.isPlayerJammed() now safely treats an uninitialized ether or missing player as not jammed rather than throwing a null pointer exception. - @ABKQPO
- Fixed: NullPointerException in isPlayerJammed before ether initialization
- #20 GuiRedstoneWireless now clamps user-entered frequency values to the 5000 limit, preventing ArrayIndexOutOfBoundsException. - @pxbhop
- Fixed: ArrayIndexOutOfBoundsException on out-of-range frequency entry
- #19 Added null guard in ReceiverPart.setActive() and WirelessPart.updateChange() to check that the tile is still valid before attempting network updates. Depends on ForgeMultipart#46. - @alppp
- Fixed: NullPointerException on chunk unload when receivers update
- #17 TransceiverPart.activate() now sends a packet (type 11) from the server only after the PlayerInteractEvent passes uncancelled. Client-side GUI opening was moved to packet receipt, preventing circumvention of server-side protection checks. - @Eldrinn-Elantey
- Added: packet type 11 for transceiver GUI authorization
- Fixed: permission bypass via client-side GUI opening
- #16 Added null safety checks in WRAddonEventHandler. - @Alexdoru
- Fixed: null pointer exception
- #13 Corrected it_IT.lang file syntax. - @Nikolay-Sitnikov
- Fixed: language file formatting
Performance
- #24 Refactored RenderWireless and related part classes to reduce object allocations during transceiver rendering. Large allocation arrays replaced with more efficient patterns. - @boubou19
- #23 Optimized RenderWirelessBolt and WirelessBolt rendering logic to reduce allocation churn. - @boubou19
- #22 RedstoneEther.getFreq() now lazy-initializes RedstoneEtherFrequency array entries on first access rather than pre-populating all 5000. Includes null checks and bounds validation. - @Alexdoru
- #21 Changed lazy-loading strategy to only allocate RedstoneEtherFrequency objects per dimension when they are actually used, rather than creating all 5000 upfront. Dimension cost reduced from ~1.24 MB per loaded dimension to proportional-to-usage. - @Algent
- Fixed: excessive memory allocation on dimension load
- #14 Fixed world client leak and improved resource cleanup in RedstoneEtherAddons, RedstoneEtherClientAddons, RedstoneEtherServerAddons, TriangTexManager, and related classes; updated build configuration. - @Alexdoru
- Fixed: world client leak, memory leaks
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@boubou19 (7), @Alexdoru (3), @Algent (2), @Pxx500 (2), @ABKQPO (1), @alppp (1), @Dream-Master (1), @Eldrinn-Elantey (1), @Luca-Guettinger (1), @Nikolay-Sitnikov (1), @pxbhop (1), @Ruling-0 (1)