Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Mar 30, 2020
1 parent 72ba197 commit a53bca2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Refined Pipes Changelog

## 0.2.1
Note: Due to refactoring of the network architecture, pipes from version 0.2 and earlier are incompatible and won't be functioning. This can be fixed by breaking and replacing all the pipes in a network.

- Added ghost hitboxes when holding an attachment in hand (raoulvdberge)
- Refactored network architecture (raoulvdberge)

## 0.2
- Added fluid pipes (raoulvdberge)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public float updateAndGetRenderFullness(float partialTicks) {
@Override
public CompoundNBT writeUpdate(CompoundNBT tag) {
Pipe pipe = NetworkManager.get(world).getPipe(pos);
if (pipe instanceof FluidPipe) {
if (pipe instanceof FluidPipe && pipe.getNetwork() != null) {
tag.put("fluid", ((FluidNetwork) pipe.getNetwork()).getFluidTank().getFluid().writeToNBT(new CompoundNBT()));
tag.putFloat("fullness", ((FluidPipe) pipe).getFullness());
}
Expand Down

0 comments on commit a53bca2

Please sign in to comment.