Add a few missing items from beacon render handler

This commit is contained in:
James Seibel
2024-07-08 07:35:34 -05:00
parent c45f9f442f
commit baa89edd03
@@ -75,26 +75,12 @@ public class BeaconRenderHandler
//
//
//
public List<BeaconBeamDTO> getAllBeamsForSectionPos(long pos)
{
if (this.beaconBeamRepo != null)
{
return this.beaconBeamRepo.getAllBeamsForPos(pos);
}
else
{
return new ArrayList<>(0);
}
}
//=========================//
// level loading/unloading //
//=========================//
public void setBeaconBeamsForChunk(DhChunkPos chunkPos, java.util.List<BeaconBeamDTO> newBeamList)
{
// TODO move beacon handling to its own BeaconRenderHandler class
// synchronized to prevent two threads from updating the same chunk at the same time
synchronized (this)
{
@@ -177,9 +163,9 @@ public class BeaconRenderHandler
//
//
//
//=================//
// render handling //
//=================//
private void startRenderingBeacon(BeaconBeamDTO beacon)
{
@@ -224,5 +210,4 @@ public class BeaconRenderHandler
});
}
}