[1.188.105] BlockAdd event not provide owner

Foogs shared this bug 5 years ago
Outdated

m_mycubegrid = m_block.CubeGrid as MyCubeGrid;

m_mycubegrid.OnBlockAdded += OnBlockEventAdd;

public void OnBlockEventAdd(IMySlimBlock block)

{

var owner = block.OwnerId; //will 0

var builder = block.BuiltBy; // will 144115188075855877

}

this happens when player with creative places block to grid.

Replies (1)

photo
2

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file