Refactoring and Bug Fixes

This commit is contained in:
Kam committed 2026-02-17 21:03:54 -05:00
1 parent c7956a24a6
commit 2bcf3b03d5
6 files changed
+958 -932

No files matched your search

@@ -66,7 +66,7 @@ public abstract class EntityEnergyAbility extends Entity implements IEntityAddit
/**
* Set charging state (server only, synced to clients via data watcher).
*/
protected void setCharging(boolean value) {
public void setCharging(boolean value) {
this.charging = value;
if (!worldObj.isRemote) {
this.dataWatcher.updateObject(DW_CHARGING, (byte) (value ? 1 : 0));