Fixed broken trophy system filters of trophies placed before this update
@@ -131,6 +131,7 @@ public class TrophySystemTileEntity extends CustomizableTileEntity implements IT
public void read(BlockState state, CompoundNBT tag) {
super.read(state, tag);
+ if (tag.contains("projectiles", 10)) {
CompoundNBT projectilesNBT = tag.getCompound("projectiles");
int i = 0;
@@ -139,6 +140,7 @@ public class TrophySystemTileEntity extends CustomizableTileEntity implements IT
i++;
}
}
+ }
public void setTarget(ProjectileEntity target) {
this.entityBeingTargeted = target;
