mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-24 22:14:38 +00:00
Modified partChange event to take a parameter of the part that was changed and only send the event to other parts.
Update CCL dep
This commit is contained in:
1 parent
2291c3dd09
commit
37a3d89382
14 files changed
+65
-24
No files matched your search
@@ -97,7 +97,7 @@ public class LeverPart extends McSidedMetaPart implements IRedstonePart
|
||||
world.playSoundEffect(x() + 0.5, y() + 0.5, z() + 0.5, "random.click", 0.3F, !active() ? 0.6F : 0.5F);
|
||||
meta ^= 8;
|
||||
sendDescUpdate();
|
||||
tile().notifyPartChange();
|
||||
tile().notifyPartChange(this);
|
||||
tile().notifyNeighborChange(metaSideMap[meta&7]);
|
||||
tile().markDirty();
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user