mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Fix slabs
This commit is contained in:
parent
564c79c411
commit
4dcdbdec3a
@ -388,7 +388,7 @@ public class PostMasterPatcher extends IrisPostBlockFilter
|
||||
|
||||
if(!cancel && isAirOrWater(x, c, z, currentPostX, currentPostZ, currentData))
|
||||
{
|
||||
Slab slab = (Slab) d.getBlockData();
|
||||
Slab slab = (Slab) d.getBlockData().clone();
|
||||
slab.setType(Type.TOP);
|
||||
setPostBlock(x, c, z, d, currentPostX, currentPostZ, currentData);
|
||||
}
|
||||
|
@ -17,11 +17,9 @@ import com.volmit.iris.gen.provisions.ProvisionBukkit;
|
||||
import com.volmit.iris.gui.PregenGui;
|
||||
|
||||
import io.papermc.lib.PaperLib;
|
||||
import lombok.Getter;
|
||||
|
||||
public class PregenJob implements Listener
|
||||
{
|
||||
@Getter
|
||||
private World world;
|
||||
private int size;
|
||||
private int total;
|
||||
@ -419,10 +417,4 @@ public class PregenJob implements Listener
|
||||
return new String[] {"Progress: " + Form.pc(Math.min((double) genned / (double) total, 1.0), 0), "Generated: " + Form.f(genned) + " Chunks", "Remaining: " + Form.f(total - genned) + " Chunks", "Elapsed: " + Form.duration((long) s.getMilliseconds(), 2), "Estimate: " + ((genned >= total - 5 ? "Any second..." : s.getMilliseconds() < 25000 ? "Calculating..." : Form.duration(eta, 2))), "ChunksMS: " + Form.duration(1000D / cps, 2), "Chunks/s: " + Form.f(cps, 1),
|
||||
};
|
||||
}
|
||||
|
||||
public void progressMCA(Color color, int x, int z, double pct)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user