mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Merge branch 'development' into 1.8.9
Huge merge with 202 conflicts, hopefully not *too* broken.
This commit is contained in:
commit
84336ec4d1
571 files changed
+10295
-4773
No files matched your search
@@ -577,6 +577,11 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
{
|
||||
iterated.add(pos);
|
||||
|
||||
if(!checker.shouldContinue(iterated.size()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
for(EnumFacing side : EnumFacing.VALUES)
|
||||
{
|
||||
Coord4D coord = pos.offset(side);
|
||||
@@ -601,8 +606,13 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
}
|
||||
}
|
||||
|
||||
public static interface NodeChecker
|
||||
public static abstract class NodeChecker
|
||||
{
|
||||
public boolean isValid(Coord4D coord);
|
||||
public abstract boolean isValid(final Coord4D coord);
|
||||
|
||||
public boolean shouldContinue(int iterated)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user