mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-18 14:50:56 +00:00
Fix Fabric carver cache flushing
This commit is contained in:
+11
@@ -69,6 +69,17 @@ public class FabricWorldChunkRegion implements World {
|
|||||||
return new FabricBlock(pos, delegate.chunk);
|
return new FabricBlock(pos, delegate.chunk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return delegate.generator.hashCode();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object obj) {
|
||||||
|
if(!(obj instanceof FabricWorldChunkRegion)) return false;
|
||||||
|
return ((FabricWorldChunkRegion) obj).delegate.generator.equals(delegate.generator);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Block getBlockAt(Location l) {
|
public Block getBlockAt(Location l) {
|
||||||
return getBlockAt(l.getBlockX(), l.getBlockY(), l.getBlockZ());
|
return getBlockAt(l.getBlockX(), l.getBlockY(), l.getBlockZ());
|
||||||
|
|||||||
Reference in New Issue
Block a user