Begin updating to 1.19.3
This commit is contained in:
parent
b19fd441f8
commit
e0ec89d15d
7 changed files with 194 additions and 267 deletions
|
@ -76,6 +76,12 @@ public class StoredBlock implements Comparable
|
|||
claimed_by=tx;
|
||||
}
|
||||
|
||||
public boolean isClaimedBy(HealerWorker worker)
|
||||
{
|
||||
if(worker.MyThread == claimed_by && claimed())return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public StoredBlock(final BlockPos pos, final BlockState toSave, final ServerLevel lvl)
|
||||
{
|
||||
|
@ -159,6 +165,7 @@ public class StoredBlock implements Comparable
|
|||
final CompoundTag tmp = tag.getCompound("entity");
|
||||
blockEntity = tmp.isEmpty() ? null : tmp;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(Object o) {
|
||||
if(o instanceof StoredBlock)
|
||||
|
|
Reference in a new issue