@Override
	public void onDisable() {
		System.out.println("Disabled!");
		
		try {
			// Save the block channels	
			for (Entry<SpoutBlock, Integer> entry : block_channel.entrySet())
			{
				// Check if block still exists
				if (entry.getKey().getCustomBlock() == Transmitter_Block_on 
						| entry.getKey().getCustomBlock() == Transmitter_Block_off
						| entry.getKey().getCustomBlock() == Reciever_Block_on
						| entry.getKey().getCustomBlock() == Reciever_Block_off) {
					
					serial.SerializeBlock(entry.getKey(), entry.getValue());
					
				} else {
					if (transmitter_blocks_on_channel.containsKey(entry.getKey())) {
						transmitter_blocks_on_channel.remove(entry.getKey());
					}
					
					if (spout_Reciever_block.contains(entry.getKey())) {
						spout_Reciever_block.remove(entry.getKey());
					}
				}
			}
			
			// Save the Receiver List
			serial.SaveBlockList(spout_Reciever_block);
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}