mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
.
This commit is contained in:
parent
2a9119c7c3
commit
d79d32dac1
@ -60,16 +60,10 @@ public class SendChunk {
|
|||||||
diffx = Math.abs(x - (chunk.getX() << 4));
|
diffx = Math.abs(x - (chunk.getX() << 4));
|
||||||
diffz = Math.abs(z - (chunk.getZ() << 4));
|
diffz = Math.abs(z - (chunk.getZ() << 4));
|
||||||
if (diffx <= view && diffz <= view) {
|
if (diffx <= view && diffz <= view) {
|
||||||
System.out.print("PLAYER ");
|
|
||||||
Object pair = ChunkCoordIntPairCon.create(chunk.getX(), chunk.getZ());
|
Object pair = ChunkCoordIntPairCon.create(chunk.getX(), chunk.getZ());
|
||||||
Object pq = chunkCoordIntPairQueue.of(ep).get();
|
Object pq = chunkCoordIntPairQueue.of(ep).get();
|
||||||
((List) pq).add(pair);
|
((List) pq).add(pair);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
System.out.print("NOT P "+diffx+ " | "+diffz+" | "+view);
|
|
||||||
System.out.print("2 "+x+ " | "+z+" | ");
|
|
||||||
System.out.print("3 "+(chunk.getX() << 4)+ " | "+(chunk.getZ() << 4)+" | ");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user