PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

43M Downloads

Area GPS Tool doesn't work on dedicated server

desht opened this issue ยท 1 comments

commented

You can left or right-click but it just leaves a 0,0,0 in the corresponding coordinate.

I'm pretty sure this is down to itemstack capabilities being a huge pain to synchronise properly. Tried sharing the data with Item#getNBTShareTag() but that didn't help.

Since this data is internal to the mod, using a capability here is probably more trouble than it's worth. I'm inclined to just remove the CapabilityAreaGPSTool and do this with simple NBT storage on the item, like we do with the simple 1-position GPS Tool. If other mods really need this data, they can use the IPositionProvider interface in the API, which the Area GPS Tool implements.

commented

Fixed in 0.7.3 release