for(GuiButton button : cameraButtons) {
button.displayString += (button.id + ((page - 1) * 10));
this.buttonList.add(button);
int camPos = (button.id + ((page - 1) * 10));
if(camPos <= cameraMonitor.getCameraPositions(nbtTag).size()) {
<BUG>int[] cameraPos = ((int[]) this.cameraMonitor.getCameraPositions(this.nbtTag).get(camPos - 1));

if(Minecraft.getMinecraft().theWorld.getBlock(cameraPos[0], cameraPos[1], cameraPos[2]) != mod_SecurityCraft.securityCamera) {
</BUG>
button.enabled = false;

for(GuiButton button : cameraButtons) {
button.displayString += (button.id + ((page - 1) * 10));
this.buttonList.add(button);
int camPos = (button.id + ((page - 1) * 10));
if(camPos <= cameraMonitor.getCameraPositions(nbtTag).size()) {
CameraView view = (CameraView) this.cameraMonitor.getCameraPositions(this.nbtTag).get(camPos - 1);
if(Minecraft.getMinecraft().theWorld.getBlock(view.x, view.y, view.z) != mod_SecurityCraft.securityCamera) {
button.enabled = false;
